Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-12 Thread Jamie Lokier
Andrew Morton wrote: > > I meant with the "classic" use of mtdoops, therefore with a flash > > partition without use MTD_RAM. Using MTD_RAM, it's more or less the > > same thing, with the exception of "where" you want deploy the log. For > > example: if in your system you have got a nvram you can u

Re: [PATCH v2] char drivers: Ram oops/panic logger

2010-03-12 Thread Andrew Morton
On Wed, 10 Mar 2010 13:15:25 +0100 Marco Stornelli wrote: > 2010/3/10 Yuasa Yoichi : > > 2010/3/10 Marco Stornelli : > >> 2010/3/10 Yuasa Yoichi : > >>> Hi, > >>> > >>> 2010/3/10 Marco Stornelli : > Ramoops, like mtdoops, can log oops/panic information but in RAM. > >>> > >>> What is differe

Re: [PATCH] devtmpfs: support !CONFIG_TMPFS

2010-03-12 Thread Kay Sievers
On Fri, Mar 12, 2010 at 12:38, Peter Korsgaard wrote: >> "Michael" == Michael Tokarev writes: >  >> +#ifdef CONFIG_TMPFS >  >> return get_sb_single(fs_type, flags, data, shmem_fill_super, mnt); >  >> +#else >  >> +   return get_sb_single(fs_type, flags, data, ramfs_fill_super, mnt); >  >> +#e

Re: [PATCH] devtmpfs: support !CONFIG_TMPFS

2010-03-12 Thread Peter Korsgaard
> "Michael" == Michael Tokarev writes: Hi, >> +#ifdef CONFIG_TMPFS >> return get_sb_single(fs_type, flags, data, shmem_fill_super, mnt); >> +#else >> + return get_sb_single(fs_type, flags, data, ramfs_fill_super, mnt); >> +#endif >> } Michael> May be completely not to the point or

Re: [PATCH] devtmpfs: support !CONFIG_TMPFS

2010-03-12 Thread Michael Tokarev
Peter Korsgaard wrote: > Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, > using ramfs instead. > > Saves ~15KB. > > Signed-off-by: Peter Korsgaard []> --- a/drivers/base/devtmpfs.c > +++ b/drivers/base/devtmpfs.c > @@ -44,7 +45,11 @@ __setup("devtmpfs.mount=", mount_pa

[PATCH] devtmpfs: support !CONFIG_TMPFS

2010-03-12 Thread Peter Korsgaard
Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, using ramfs instead. Saves ~15KB. Signed-off-by: Peter Korsgaard --- drivers/base/Kconfig|2 +- drivers/base/devtmpfs.c |5 + fs/ramfs/inode.c|2 +- include/linux/ramfs.h |2 ++ 4 files c