summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorAdrian Huang (Lenovo) <adrianhuang0701@gmail.com>2025-08-06 17:59:06 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-09-14 02:54:45 +0300
commit61dc4358d37ae0be3220a0fa32cf7f0ccd4f7636 (patch)
treec68915664684fdfd07dff1bd72e8cdc71e2cedf3 /rust/helpers/vmalloc.c
parent6de1ef1ca39a07fe1c17f3f73a74106543eae127 (diff)
downloadlinux-61dc4358d37ae0be3220a0fa32cf7f0ccd4f7636.tar.xz
mm: correct misleading comment on mmap_lock field in mm_struct
The comment previously described the offset of mmap_lock as 0x120 (hex), which is misleading. The correct offset is 56 bytes (decimal) from the last cache line boundary. Using '0x120' could confuse readers trying to understand why the count and owner fields reside in separate cachelines. This change also removes an unnecessary space for improved formatting. Link: https://lkml.kernel.org/r/20250806145906.24647-1-adrianhuang0701@gmail.com Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Acked-by: David Hildenbrand <david@redhat.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions