Skip to contentSkip to conversation

Fix typo in swap cgroup message

PATCH Balbir Singh 2 participants 2 messages Nov 17, 2008 Memory management

lore
Share & tools
lore
#0 lore raw

There is a typo in the spelling of buffers (buffres) and the message is not very clear either. Fix the message and typo (hopefully not introducing any new ones ;) )

Cc Hugh Dickins <[email protected]>
Cc Li Zefan <[email protected]>
Cc Pavel Emelyanov <[email protected]>

---

 mm/page_cgroup.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
mm/page_cgroup.c renamed from mm/page_cgroup.c~fix-typo-swap-cgroup +2 -1
diff -puN mm/page_cgroup.c~fix-typo-swap-cgroup mm/page_cgroup.c
@@ -423,7 +423,8 @@ int swap_cgroup_swapon(int type, unsigne
 	mutex_unlock(&swap_cgroup_mutex);
 
 	printk(KERN_INFO
-		"swap_cgroup: uses %ld bytes vmalloc and %ld bytes buffres\n",
+		"swap_cgroup: uses %ld bytes of vmalloc for pointer array space"
+		" and %ld bytes to hold mem_cgroup pointers on swap\n",
 		array_size, length * PAGE_SIZE);
 	printk(KERN_INFO
 	"swap_cgroup can be disabled by noswapaccount boot option.\n");

_

Signature · 7 lines
	Balbir

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#1 lore raw
Quoted 5 lines · On Mon, 17 Nov 2008 10:10:08 +0530 Balbir Singh <[email protected]>…

There is a typo in the spelling of buffers (buffres) and the message is not very clear either. Fix the message and typo (hopefully not introducing any new ones ;) )

(>_< thanks, I found my private aspell dict includes "buffres"...

-Kame

Quoted 22 lines
Cc Hugh Dickins <[email protected]>
Cc Li Zefan <[email protected]>
Cc Pavel Emelyanov <[email protected]>

---

 mm/page_cgroup.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN mm/page_cgroup.c~fix-typo-swap-cgroup mm/page_cgroup.c

mm/page_cgroup.c renamed from mm/page_cgroup.c~fix-typo-swap-cgroup +2 -1
@@ -423,7 +423,8 @@ int swap_cgroup_swapon(int type, unsigne
 	mutex_unlock(&swap_cgroup_mutex);
 
 	printk(KERN_INFO
-		"swap_cgroup: uses %ld bytes vmalloc and %ld bytes buffres\n",
+		"swap_cgroup: uses %ld bytes of vmalloc for pointer array space"
+		" and %ld bytes to hold mem_cgroup pointers on swap\n",
 		array_size, length * PAGE_SIZE);
 	printk(KERN_INFO
 	"swap_cgroup can be disabled by noswapaccount boot option.\n");
Quoted 5 lines

_

Signature · 1 line
	Balbir

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>