]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
lockdep, mm: fix might_fault() annotation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 12 Jan 2009 12:02:11 +0000 (13:02 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 Jan 2009 12:09:18 +0000 (13:09 +0100)
commit95156f0051cba60ec674bbaa5cf7dc74a74c5612
treeb2927d543b7b8e89e8dcb7ebf7f37d07afdc62f0
parent9d0793370987b98708d2f75ee3bba7c1008d8512
lockdep, mm: fix might_fault() annotation

Some code (nfs/sunrpc) uses socket ops on kernel memory while holding
the mmap_sem, this is safe because kernel memory doesn't get paged out,
therefore we'll never actually fault, and the might_fault() annotations
will generate false positives.

Reported-by: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/memory.c