]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Get rid of "double zeroing" of allocated pages
authorRobert P. J. Day <rpjday@mindspring.com>
Sat, 10 Feb 2007 09:45:46 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:31 +0000 (10:51 -0800)
commit26a839e52af37984982d25e02412ac20c6c67e52
tree26f6fd9cbaf6bc3c7d940d33069b3b701cc41e72
parent8304b9ef03c2ea0b4d94d3f24f78347852b1a299
[PATCH] Get rid of "double zeroing" of allocated pages

Simplify the few instances where a call to "get_zeroed_page()" is closely
followed by an unnecessary call to memset() to clear that page.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Cc: chas williams <chas@cmf.nrl.navy.mil>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/atm/eni.c
drivers/media/video/zoran_driver.c
drivers/scsi/53c7xx.c