Re: [PATCH 04/17] arch, mm: move definition of node_data to generic code

2024-07-22 Thread Davidlohr Bueso
On Tue, 16 Jul 2024, Mike Rapoport wrote:\n From: "Mike Rapoport (Microsoft)" Every architecture that supports NUMA defines node_data in the same way: struct pglist_data *node_data[MAX_NUMNODES]; No reason to keep multiple copies of this definition and its forward declarations, especi

Re: [PATCH 04/17] arch, mm: move definition of node_data to generic code

2024-07-19 Thread Jonathan Cameron
On Tue, 16 Jul 2024 14:13:33 +0300 Mike Rapoport wrote: > From: "Mike Rapoport (Microsoft)" > > Every architecture that supports NUMA defines node_data in the same way: > > struct pglist_data *node_data[MAX_NUMNODES]; > > No reason to keep multiple copies of this definition and its forw

Re: [PATCH 04/17] arch, mm: move definition of node_data to generic code

2024-07-17 Thread David Hildenbrand
On 16.07.24 13:13, Mike Rapoport wrote: From: "Mike Rapoport (Microsoft)" Every architecture that supports NUMA defines node_data in the same way: struct pglist_data *node_data[MAX_NUMNODES]; No reason to keep multiple copies of this definition and its forward declarations, especially

[PATCH 04/17] arch, mm: move definition of node_data to generic code

2024-07-16 Thread Mike Rapoport
From: "Mike Rapoport (Microsoft)" Every architecture that supports NUMA defines node_data in the same way: struct pglist_data *node_data[MAX_NUMNODES]; No reason to keep multiple copies of this definition and its forward declarations, especially when such forward declaration is the only