Re: Oopses and invalid addresses under Hatari

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Apr 2019, Michael Schmitz wrote:


=> I think the problem is that 'I' kthreads have NULL "current_pwq".

Confirmed by the patch you attached so your analysis seems right.


And offset_of(struct poll_workqueue, wq) == 0x00000004.


Ones with workqueues just have "current_func" set, others don't.

Why that would affect / fault only on 030?

The 040/060 bus error trap may not force a bus error bypassing 
do_page_fault() in the same way the 030 handler does. I haven't yet 
looked at the 040/060 handler. Did I mention I really don't do memory 
management stuff?


Well, that makes two of us.

The real question is - why are these fields NULL in the first place? And 
are they NULL only on 030?


Could be another question for elgar?

-- 



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux