summaryrefslogtreecommitdiff
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2022-03-23 00:47:58 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-23 01:57:11 +0300
commitd7ca25c53e25a9a628aaa19b5a031f115d8c353d (patch)
tree1a677c54404423c7427d27fb06c3ddb354872f9e /mm/highmem.c
parentbe4893d92b6b426357978ed955190c0ead23a4b1 (diff)
downloadlinux-d7ca25c53e25a9a628aaa19b5a031f115d8c353d.tar.xz
highmem: document kunmap_local()
Some users of kmap() add an offset to the kmap() address to be used during the mapping. When converting to kmap_local_page() the base address does not need to be stored because any address within the page can be used in kunmap_local(). However, this was not clear from the documentation and cause some questions.[1] Document that any address in the page can be used in kunmap_local() to clarify this for future users. [1] https://lore.kernel.org/lkml/20211213154543.GM3538886@iweiny-DESK2.sc.intel.com/ [ira.weiny@intel.com: updates per Christoph] Link: https://lkml.kernel.org/r/20220124182138.816693-1-ira.weiny@intel.com Link: https://lkml.kernel.org/r/20220124013045.806718-1-ira.weiny@intel.com Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions