Files
linux/fs
Suren Baghdasaryan 9fbdc4b53f UPSTREAM: mm: refactor vm_area_struct::anon_vma_name usage code
Avoid mixing strings and their anon_vma_name referenced pointers by
using struct anon_vma_name whenever possible.  This simplifies the code
and allows easier sharing of anon_vma_name structures when they
represent the same name.

[surenb@google.com: fix comment]

Link: https://lkml.kernel.org/r/20220223153613.835563-1-surenb@google.com
Link: https://lkml.kernel.org/r/20220224231834.1481408-1-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Suggested-by: Michal Hocko <mhocko@suse.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Colin Cross <ccross@google.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Alexey Gladkov <legion@kernel.org>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Chris Hyser <chris.hyser@oracle.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Xiaofeng Cao <caoxiaofeng@yulong.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

(cherry picked from commit 5c26f6ac94)

Bug: 218352794
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I4a6b5602ce7151d1a4b88fac489f86d68089bd4d
2022-03-25 16:28:27 +00:00
..
2022-01-20 09:35:27 +01:00
2021-09-30 10:42:21 +02:00
2020-10-16 11:11:22 -07:00
2022-03-15 13:57:31 +01:00
2022-02-02 09:32:52 +01:00
2022-03-15 13:57:31 +01:00
2021-10-09 15:04:37 +02:00
2021-09-18 13:40:15 +02:00
2022-03-18 12:17:14 +01:00
2021-12-08 09:44:28 +01:00
2021-07-31 08:50:03 +02:00
2021-05-20 15:35:25 +02:00
2022-01-29 09:07:58 +01:00
2021-11-19 07:47:18 +01:00
2022-02-23 12:26:12 +01:00
2022-02-05 13:23:26 +01:00
2022-02-02 09:32:52 +01:00
2022-01-29 09:07:58 +01:00
2022-01-11 15:45:50 +01:00
2021-12-22 09:30:57 +01:00
2021-09-30 10:33:42 +02:00
2021-05-13 14:22:11 +02:00
2021-09-08 09:07:16 +02:00
2022-02-23 12:26:12 +01:00
2020-08-04 21:02:38 -04:00
2021-11-26 10:39:22 +01:00
2020-07-31 08:16:01 +02:00
2021-02-18 11:21:01 +01:00
2022-02-02 09:32:52 +01:00
2021-12-14 11:32:40 +01:00
2020-08-27 16:06:47 -04:00
2020-06-25 14:25:32 +02:00
2020-07-31 08:16:01 +02:00