mm: rename page trylock
Converting page lock to new locking bitops requires a change of page flag operation naming, so we might as well convert it to something nicer (!TestSetPageLocked_Lock => trylock_page, SetPageLocked => set_page_locked). This also facilitates lockdeping of page lock. Signed-off-by:Nick Piggin <npiggin@suse.de> Acked-by:
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Acked-by:
Peter Zijlstra <peterz@infradead.org> Acked-by:
Andrew Morton <akpm@linux-foundation.org> Acked-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- drivers/scsi/sg.c 1 addition, 1 deletiondrivers/scsi/sg.c
- fs/afs/write.c 1 addition, 1 deletionfs/afs/write.c
- fs/cifs/file.c 1 addition, 1 deletionfs/cifs/file.c
- fs/jbd/commit.c 2 additions, 2 deletionsfs/jbd/commit.c
- fs/jbd2/commit.c 1 addition, 1 deletionfs/jbd2/commit.c
- fs/reiserfs/journal.c 1 addition, 1 deletionfs/reiserfs/journal.c
- fs/splice.c 1 addition, 1 deletionfs/splice.c
- fs/xfs/linux-2.6/xfs_aops.c 2 additions, 2 deletionsfs/xfs/linux-2.6/xfs_aops.c
- include/linux/page-flags.h 1 addition, 1 deletioninclude/linux/page-flags.h
- include/linux/pagemap.h 41 additions, 26 deletionsinclude/linux/pagemap.h
- mm/filemap.c 6 additions, 6 deletionsmm/filemap.c
- mm/memory.c 1 addition, 1 deletionmm/memory.c
- mm/migrate.c 2 additions, 2 deletionsmm/migrate.c
- mm/rmap.c 1 addition, 1 deletionmm/rmap.c
- mm/shmem.c 2 additions, 2 deletionsmm/shmem.c
- mm/swap.c 1 addition, 1 deletionmm/swap.c
- mm/swap_state.c 4 additions, 4 deletionsmm/swap_state.c
- mm/swapfile.c 1 addition, 1 deletionmm/swapfile.c
- mm/truncate.c 2 additions, 2 deletionsmm/truncate.c
- mm/vmscan.c 2 additions, 2 deletionsmm/vmscan.c
Loading
Please register or sign in to comment