Re: [RFC] mm: Generalize notify_page_fault()

From
Matthew Wilcox <willy@infradead.org>
Date
2019-05-30 13:39:59
Also in
linux-arm-kernel, linux-mm, linux-s390, linux-sh, lkml, sparclinux
Reply to
Anshuman Khandual, 2019-05-30
On Thu, May 30, 2019 at 05:31:15PM +0530, Anshuman Khandual wrote:
On 05/30/2019 04:36 PM, Matthew Wilcox wrote:
quoted
The two handle preemption differently.  Why is x86 wrong and this one
correct?
Here it expects context to be already non-preemptible where as the proposed
generic function makes it non-preemptible with a preempt_[disable|enable]()
pair for the required code section, irrespective of it's present state. Is
not this better ?
git log -p arch/x86/mm/fault.c

search for 'kprobes'.

tell me what you think.
Thread (7 messages) 7 messages, 2 authors, last reply 2019-06-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help