diff options
| author | Wei Yang <[email protected]> | 2018-12-28 00:37:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-12-28 12:11:49 -0800 |
| commit | 4e0d2e7ef14d9e1c900dac909db45263822b824f (patch) | |
| tree | c4c0bde18e2a745fb13ef562dd864d2cef1f8dbc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 83af658898cb292a32d8b6cd9b51266d7cfc4b6a (diff) | |
mm, sparse: pass nid instead of pgdat to sparse_add_one_section()
Since the information needed in sparse_add_one_section() is node id to
allocate proper memory, it is not necessary to pass its pgdat.
This patch changes the prototype of sparse_add_one_section() to pass node
id directly. This is intended to reduce misleading that
sparse_add_one_section() would touch pgdat.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions