Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/balloon_compaction: remove "extern" from functions

Adding "extern" to functions is frowned-upon. Let's just get rid of it
for all functions here.

Link: https://lkml.kernel.org/r/20260119230133.3551867-19-david@kernel.org
Signed-off-by: David Hildenbrand (Red Hat) <david@kernel.org>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Eugenio Pérez <eperezma@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Jerrin Shaji George <jerrin.shaji-george@broadcom.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: SeongJae Park <sj@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

David Hildenbrand (Red Hat) and committed by
Andrew Morton
92ec9260 eee00d04

+8 -8
+8 -8
include/linux/balloon_compaction.h
··· 59 59 bool adjust_managed_page_count; 60 60 }; 61 61 62 - extern struct page *balloon_page_alloc(void); 63 - extern void balloon_page_enqueue(struct balloon_dev_info *b_dev_info, 64 - struct page *page); 65 - extern struct page *balloon_page_dequeue(struct balloon_dev_info *b_dev_info); 66 - extern size_t balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info, 67 - struct list_head *pages); 68 - extern size_t balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info, 69 - struct list_head *pages, size_t n_req_pages); 62 + struct page *balloon_page_alloc(void); 63 + void balloon_page_enqueue(struct balloon_dev_info *b_dev_info, 64 + struct page *page); 65 + struct page *balloon_page_dequeue(struct balloon_dev_info *b_dev_info); 66 + size_t balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info, 67 + struct list_head *pages); 68 + size_t balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info, 69 + struct list_head *pages, size_t n_req_pages); 70 70 71 71 static inline void balloon_devinfo_init(struct balloon_dev_info *balloon) 72 72 {