Re: [PATCH 2/7] mmc: Don't use PF_MEMALLOC

2009-11-17 Thread Minchan Kim
Hi, Peter. First of all, Thanks for the commenting. On Wed, Nov 18, 2009 at 5:47 AM, Peter Zijlstra wrote: > On Tue, 2009-11-17 at 21:51 +0900, Minchan Kim wrote: >> I think it's because mempool reserves memory. >> (# of I/O issue\0 is hard to be expected. >> How do we determine mempool size of

Re: [PATCH 2/7] mmc: Don't use PF_MEMALLOC

2009-11-17 Thread Peter Zijlstra
On Tue, 2009-11-17 at 21:51 +0900, Minchan Kim wrote: > I think it's because mempool reserves memory. > (# of I/O issue\0 is hard to be expected. > How do we determine mempool size of each block driver? > For example, maybe, server use few I/O for nand. > but embedded system uses a lot of I/O.

Re: [PATCH] drivers: MMC: enable SDHCI-S3C on S5PC1XX platform

2009-11-17 Thread Ben Dooks
On Tue, Nov 17, 2009 at 12:11:43PM +0100, Marc Zyngier wrote: > On Tue, 17 Nov 2009 08:52:54 +0100 > Marek Szyprowski wrote: > > I think it was Ben that suggested once to introduce a HAVE_SDHCI_S3C > symbol, selected by interested parties (S3C, S5P, S5PC...). Yes, I did mention this and it is an

Re: [PATCH 2/7] mmc: Don't use PF_MEMALLOC

2009-11-17 Thread Minchan Kim
Sorry for the noise. While I am typing, my mail client already send the mail. :(. This is genuine. KOSAKI Motohiro wrote: >> On Tue, 17 Nov 2009 16:17:50 +0900 (JST) >> KOSAKI Motohiro wrote: >> >>> Non MM subsystem must not use PF_MEMALLOC. Memory reclaim need few >>> memory, anyone must not pr

Re: [PATCH 2/7] mmc: Don't use PF_MEMALLOC

2009-11-17 Thread KOSAKI Motohiro
> On Tue, 17 Nov 2009 16:17:50 +0900 (JST) > KOSAKI Motohiro wrote: > > > Non MM subsystem must not use PF_MEMALLOC. Memory reclaim need few > > memory, anyone must not prevent it. Otherwise the system cause > > mysterious hang-up and/or OOM Killer invokation. > > So now what happens if we are p

Re: [PATCH] drivers: MMC: enable SDHCI-S3C on S5PC1XX platform

2009-11-17 Thread Marc Zyngier
On Tue, 17 Nov 2009 08:52:54 +0100 Marek Szyprowski wrote: > From: Kyungmin Park > > Samsung S5PC100 SoC has SDHCI controller compatible to the one known > from S3C64xx SoCs. Enable support for sdhci-s3c driver also on > S5PC1xx platform. > > Signed-off-by: Kyungmin Park > Signed-off-by: Mare

Re: [PATCH 2/7] mmc: Don't use PF_MEMALLOC

2009-11-17 Thread Oliver Neukum
Am Dienstag, 17. November 2009 11:32:36 schrieb Minchan Kim: > On Tue, Nov 17, 2009 at 7:29 PM, Alan Cox wrote: > > On Tue, 17 Nov 2009 16:17:50 +0900 (JST) > > > > KOSAKI Motohiro wrote: > >> Non MM subsystem must not use PF_MEMALLOC. Memory reclaim need few > >> memory, anyone must not prevent

Re: [PATCH 2/7] mmc: Don't use PF_MEMALLOC

2009-11-17 Thread Minchan Kim
On Tue, Nov 17, 2009 at 7:29 PM, Alan Cox wrote: > On Tue, 17 Nov 2009 16:17:50 +0900 (JST) > KOSAKI Motohiro wrote: > >> Non MM subsystem must not use PF_MEMALLOC. Memory reclaim need few >> memory, anyone must not prevent it. Otherwise the system cause >> mysterious hang-up and/or OOM Killer in

Re: [PATCH 2/7] mmc: Don't use PF_MEMALLOC

2009-11-17 Thread Alan Cox
On Tue, 17 Nov 2009 16:17:50 +0900 (JST) KOSAKI Motohiro wrote: > Non MM subsystem must not use PF_MEMALLOC. Memory reclaim need few > memory, anyone must not prevent it. Otherwise the system cause > mysterious hang-up and/or OOM Killer invokation. So now what happens if we are paging and all ou

[PATCH] drivers: MMC: enable SDHCI-S3C on S5PC1XX platform

2009-11-17 Thread Marek Szyprowski
From: Kyungmin Park Samsung S5PC100 SoC has SDHCI controller compatible to the one known from S3C64xx SoCs. Enable support for sdhci-s3c driver also on S5PC1xx platform. Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski Acked-by: Ben Dooks --- drivers/mmc/host/Kconfig |2 +- 1