The patch titled Subject: mm-add-account_locked_vm-utility-function-v3-fix has been added to the -mm tree. Its filename is mm-add-account_locked_vm-utility-function-v3-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-add-account_locked_vm-utility-function-v3-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-add-account_locked_vm-utility-function-v3-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Subject: mm-add-account_locked_vm-utility-function-v3-fix fix mm/util.c Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: Daniel Jordan <daniel.m.jordan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/util.c~mm-add-account_locked_vm-utility-function-v3-fix +++ a/mm/util.c @@ -369,7 +369,7 @@ int __account_locked_vm(struct mm_struct unsigned long locked_vm, limit; int ret = 0; - lockdep_assert_held_exclusive(&mm->mmap_sem); + lockdep_assert_held_write(&mm->mmap_sem); locked_vm = mm->locked_vm; if (inc) { _ Patches currently in -mm which might be from sfr@xxxxxxxxxxxxxxxx are mm-add-account_locked_vm-utility-function-v3-fix.patch