diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-06-20 20:33:15 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-23 16:59:27 -0700 |
commit | b5665cf936bf3955fec18c09a6aa53c8a57ea8b7 (patch) | |
tree | 87a24a3487261ec6aeed6b8d95ff62f6ed69d260 /mm/page_alloc.c | |
parent | 3fda49e89f1702df6bb6a2470076b1a7bf3a29de (diff) |
mm: backing-dev: make bdi_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the bdi_class structure to be declared at build time placing
it into read-only memory, instead of having to be dynamically allocated at
load time.
Link: https://lkml.kernel.org/r/20230620183314.682822-2-gregkh@linuxfoundation.org
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions