diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-10-27 00:04:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-27 01:25:19 +0200 |
commit | b13fd1dc9f853835784c4c7e09f2059128986adb (patch) | |
tree | 8ff9b93b8378aeba5c893b1b721031266733aa7d /Documentation/x86/pat.txt | |
parent | mm: introduce vmf_insert_pfn_prot() (diff) | |
download | linux-b13fd1dc9f853835784c4c7e09f2059128986adb.tar.xz linux-b13fd1dc9f853835784c4c7e09f2059128986adb.zip |
x86: convert vdso to use vm_fault_t
Return vm_fault_t codes directly from the appropriate mm routines instead
of converting from errnos ourselves. Fixes a minor bug where we'd return
SIGBUS instead of the correct OOM code if we ran out of memory allocating
page tables.
Link: http://lkml.kernel.org/r/20180828145728.11873-5-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/x86/pat.txt')
0 files changed, 0 insertions, 0 deletions