diff options
author | Muchun Song <songmuchun@bytedance.com> | 2021-07-23 15:50:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-23 17:43:28 -0700 |
commit | e904c2ccf9b5cb356eec754ffea05c08984f6535 (patch) | |
tree | 14d78b1befffceb469a6781e3c7f93aa3da64965 /mm/mmap.c | |
parent | af64237461910f4c7365d367291d1c4f20c18769 (diff) | |
download | linux-e904c2ccf9b5cb356eec754ffea05c08984f6535.tar.gz linux-e904c2ccf9b5cb356eec754ffea05c08984f6535.tar.bz2 linux-e904c2ccf9b5cb356eec754ffea05c08984f6535.zip |
mm: mmap_lock: fix disabling preemption directly
Commit 832b50725373 ("mm: mmap_lock: use local locks instead of
disabling preemption") fixed a bug by using local locks.
But commit d01079f3d0c0 ("mm/mmap_lock: remove dead code for
!CONFIG_TRACING configurations") changed those lines back to the
original version.
I guess it was introduced by fixing conflicts.
Link: https://lkml.kernel.org/r/20210720074228.76342-1-songmuchun@bytedance.com
Fixes: d01079f3d0c0 ("mm/mmap_lock: remove dead code for !CONFIG_TRACING configurations")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions