diff options
author | Eric Dumazet <edumazet@google.com> | 2021-11-05 23:40:31 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-06 23:30:38 +0300 |
commit | 8446b59baaf45e83e1187cdb174ac78ac5d7d0ae (patch) | |
tree | db42faccf526b0e0476d2651643d022b3cba6976 /include/linux/cpuset.h | |
parent | ebeac3ea995b59e823510937ab92825004e3fbaa (diff) | |
download | linux-8446b59baaf45e83e1187cdb174ac78ac5d7d0ae.tar.xz |
mm/page_alloc.c: do not acquire zone lock in is_free_buddy_page()
Grabbing zone lock in is_free_buddy_page() gives a wrong sense of
safety, and has potential performance implications when zone is
experiencing lock contention.
In any case, if a caller needs a stable result, it should grab zone lock
before calling this function.
Link: https://lkml.kernel.org/r/20210922152833.4023972-1-eric.dumazet@gmail.com
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cpuset.h')
0 files changed, 0 insertions, 0 deletions