File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -591,8 +591,8 @@ struct zone {
591
591
* give them a chance of being in the same cacheline.
592
592
*
593
593
* Write access to present_pages at runtime should be protected by
594
- * mem_hotplug_begin/end (). Any reader who can't tolerant drift of
595
- * present_pages should get_online_mems() to get a stable value.
594
+ * mem_hotplug_begin/done (). Any reader who can't tolerant drift of
595
+ * present_pages should use get_online_mems() to get a stable value.
596
596
*/
597
597
atomic_long_t managed_pages ;
598
598
unsigned long spanned_pages ;
@@ -870,7 +870,7 @@ typedef struct pglist_data {
870
870
unsigned long nr_reclaim_start ; /* nr pages written while throttled
871
871
* when throttling started. */
872
872
struct task_struct * kswapd ; /* Protected by
873
- mem_hotplug_begin/end () */
873
+ mem_hotplug_begin/done () */
874
874
int kswapd_order ;
875
875
enum zone_type kswapd_highest_zoneidx ;
876
876
Original file line number Diff line number Diff line change @@ -3011,7 +3011,7 @@ void kcompactd_run(int nid)
3011
3011
3012
3012
/*
3013
3013
* Called by memory hotplug when all memory in a node is offlined. Caller must
3014
- * hold mem_hotplug_begin/end ().
3014
+ * be holding mem_hotplug_begin/done ().
3015
3015
*/
3016
3016
void kcompactd_stop (int nid )
3017
3017
{
Original file line number Diff line number Diff line change @@ -4645,7 +4645,7 @@ void kswapd_run(int nid)
4645
4645
4646
4646
/*
4647
4647
* Called by memory hotplug when all memory in a node is offlined. Caller must
4648
- * hold mem_hotplug_begin/end ().
4648
+ * be holding mem_hotplug_begin/done ().
4649
4649
*/
4650
4650
void kswapd_stop (int nid )
4651
4651
{
You can’t perform that action at this time.
0 commit comments