Commit a42931bf9c02fbf3628a27a2a5c55d2b83e4ff20
Committed by
Linus Torvalds
1 parent
cf15b07cf4
Exists in
master
and in
7 other branches
vmalloc: remove confusing comment on vwrite()
KM_USER1 is never used for vwrite() path so the caller doesn't need to guarantee it is not used. Only the caller should guarantee is KM_USER0 and it is commented already. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff
mm/vmalloc.c
... | ... | @@ -2003,8 +2003,6 @@ |
2003 | 2003 | * should know vmalloc() area is valid and can use memcpy(). |
2004 | 2004 | * This is for routines which have to access vmalloc area without |
2005 | 2005 | * any informaion, as /dev/kmem. |
2006 | - * | |
2007 | - * The caller should guarantee KM_USER1 is not used. | |
2008 | 2006 | */ |
2009 | 2007 | |
2010 | 2008 | long vwrite(char *buf, char *addr, unsigned long count) |