* [RFC] background zero-set page for device
@ 2014-12-19 7:54 Gioh Kim
0 siblings, 0 replies; only message in thread
From: Gioh Kim @ 2014-12-19 7:54 UTC (permalink / raw)
To: linux-mm, linux-kernel, dri-devel, 이건호,
Minchan Kim, '김준수'
There was some discussion to create zero-set pages in background like this:
https://lkml.org/lkml/2004/10/30/73
I'm understand that it is not good for performance.
But I think it can help for a device in my platform.
I'm sorry I can't tell what it is.
But the device needs many zero-set pages, up to several MB,
so that device driver has a loop to calls alloc_page, memset(p, 0, PAGE_SIZE) and cache flush&invalidate.
And the device uses the pages and returns it to kernel. Kernel reads data in the page.
In this case, memset(0) must be done.
I think, if memset(0) is done at idle time, it can remove memset calling of ddk.
Is there any device that needs many zero-set pages?
Can backgound zero-setting page be good for the device?
--
Thanks,
Gioh Kim
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-19 7:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-19 7:54 [RFC] background zero-set page for device Gioh Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox