diff options
author | Fabio M. De Francesco <fmdefrancesco@gmail.com> | 2022-07-28 17:48:39 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-08-08 18:06:45 -0700 |
commit | 383bbef283920411379c5c93829102ff7859fea5 (patch) | |
tree | f7ee7c346040fe3d76f4e760ecb062530d19504d /sound/isa/es1688 | |
parent | 729337bc20876af348b363b3e35fb19be71ba793 (diff) | |
download | linux-383bbef283920411379c5c93829102ff7859fea5.tar.gz linux-383bbef283920411379c5c93829102ff7859fea5.tar.bz2 linux-383bbef283920411379c5c93829102ff7859fea5.zip |
highmem: specify that kmap_local_page() is callable from interrupts
In a recent thread about converting kmap() to kmap_local_page(), the
safety of calling kmap_local_page() was questioned.[1]
"any context" should probably be enough detail for users who want to know
whether or not kmap_local_page() can be called from interrupts. However,
Linux still has kmap_atomic() which might make users think they must use
the latter in interrupts.
Add "including interrupts" for better clarity.
[1] https://lore.kernel.org/lkml/3187836.aeNJFYEL58@opensuse/
Link: https://lkml.kernel.org/r/20220728154844.10874-3-fmdefrancesco@gmail.com
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Suggested-by: Ira Weiny <ira.weiny@intel.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'sound/isa/es1688')
0 files changed, 0 insertions, 0 deletions