aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/tracing_path.h
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2022-12-07 22:53:08 +0000
committerAndrew Morton <[email protected]>2023-02-03 06:32:50 +0000
commit92b64bd01fe99325ba0f51125bcb991f1566eadc (patch)
treeb12c8f2c63cecd7af4f3e745a77cff225651b00f /tools/lib/api/fs/tracing_path.h
parentSync mm-stable with mm-hotfixes-stable to pick up dependent patches (diff)
downloadkernel-92b64bd01fe99325ba0f51125bcb991f1566eadc.tar.gz
kernel-92b64bd01fe99325ba0f51125bcb991f1566eadc.zip
mm/highmem: add notes about conversions from kmap{,_atomic}()
kmap() and kmap_atomic() have been deprecated. kmap_local_page() should always be used in new code and the call sites of the two deprecated functions should be converted. This latter task can lead to errors if it is not carried out with the necessary attention to the context around and between the maps and unmaps. Therefore, add further information to the Highmem's documentation for the purpose to make it clearer that (1) kmap() and kmap_atomic() must not any longer be called in new code and (2) developers doing conversions from kmap() amd kmap_atomic() are expected to take care of the context around and between the maps and unmaps, in order to not break the code. Relevant parts of this patch have been taken from messages exchanged privately with Ira Weiny (thanks!). [[email protected]: merge two sentences into one, per Bagas] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Fabio M. De Francesco <[email protected]> Cc: Ira Weiny <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.h')
0 files changed, 0 insertions, 0 deletions