* revert "config FS_JOURNAL_INFO"
@ 2009-12-17 8:31 Alexey Dobriyan
2009-12-17 20:09 ` Andrew Morton
2009-12-18 4:04 ` Hiroshi Shimamoto
0 siblings, 2 replies; 6+ messages in thread
From: Alexey Dobriyan @ 2009-12-17 8:31 UTC (permalink / raw)
To: torvalds, akpm, h-shimamoto; +Cc: linux-fsdevel, linux-kernel
Can we please revert commit e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319
"task_struct: make journal_info conditional"
I think I gave a good enough arguments to not merge it.
To iterate:
* patch makes impossible to start using ext3 on EXT3_FS=n kernels
without reboot.
* this is done only for one pointer on task_struct
None of config options which define task_struct are tristate directly
or effectively.
There are other examples where we don't do this:
* quota stuff on superblock aren't ifdeffed because of modular XFS
with quota support.
* exports operations and s_anon for NFS
and so on
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: revert "config FS_JOURNAL_INFO"
2009-12-17 8:31 revert "config FS_JOURNAL_INFO" Alexey Dobriyan
@ 2009-12-17 20:09 ` Andrew Morton
2009-12-18 4:04 ` Hiroshi Shimamoto
1 sibling, 0 replies; 6+ messages in thread
From: Andrew Morton @ 2009-12-17 20:09 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: torvalds, h-shimamoto, linux-fsdevel, linux-kernel
On Thu, 17 Dec 2009 10:31:52 +0200
Alexey Dobriyan <adobriyan@gmail.com> wrote:
> Can we please revert commit e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319
> "task_struct: make journal_info conditional"
>
> I think I gave a good enough arguments to not merge it.
> To iterate:
> * patch makes impossible to start using ext3 on EXT3_FS=n kernels
> without reboot.
> * this is done only for one pointer on task_struct
>
> None of config options which define task_struct are tristate directly
> or effectively.
>
> There are other examples where we don't do this:
> * quota stuff on superblock aren't ifdeffed because of modular XFS
> with quota support.
> * exports operations and s_anon for NFS
> and so on
Confused. I "dropped" that patch when you pointed out the problem then
forgot about it.
Maybe I dropped something else by accident. argh.
I agree - I'll queue a revert.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: revert "config FS_JOURNAL_INFO"
2009-12-17 8:31 revert "config FS_JOURNAL_INFO" Alexey Dobriyan
2009-12-17 20:09 ` Andrew Morton
@ 2009-12-18 4:04 ` Hiroshi Shimamoto
2009-12-18 7:25 ` Alexey Dobriyan
1 sibling, 1 reply; 6+ messages in thread
From: Hiroshi Shimamoto @ 2009-12-18 4:04 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: torvalds, akpm, linux-fsdevel, linux-kernel
Alexey Dobriyan wrote:
> Can we please revert commit e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319
> "task_struct: make journal_info conditional"
I'm fine to revert it, because it seems merged accidentally.
>
> I think I gave a good enough arguments to not merge it.
> To iterate:
> * patch makes impossible to start using ext3 on EXT3_FS=n kernels
> without reboot.
> * this is done only for one pointer on task_struct
I don't think it's only one pointer.
There might be a lot of "only one pointer".
>
> None of config options which define task_struct are tristate directly
> or effectively.
So we never allow to make memory usage small with providing an option
to remove unused area, right? Of cause, that option should be handled
carefully. If I want to reduce memory usage by this way, should I keep
this kind of patches out of tree?
thanks,
Hiroshi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: revert "config FS_JOURNAL_INFO"
2009-12-18 4:04 ` Hiroshi Shimamoto
@ 2009-12-18 7:25 ` Alexey Dobriyan
2009-12-18 7:48 ` Hiroshi Shimamoto
2009-12-19 11:51 ` OGAWA Hirofumi
0 siblings, 2 replies; 6+ messages in thread
From: Alexey Dobriyan @ 2009-12-18 7:25 UTC (permalink / raw)
To: Hiroshi Shimamoto; +Cc: torvalds, akpm, linux-fsdevel, linux-kernel
On 12/18/09, Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:
> So we never allow to make memory usage small with providing an option
> to remove unused area, right?
We certainly allow this if it results in zero loss in functionality.
> If I want to reduce memory usage by this way, should I keep
> this kind of patches out of tree?
Certainly nobody can prohibit you from keeping patch out of tree.
But if you want something mainlinable, moving ->journal_info
to fs-specific data structures should do the trick. Or something.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: revert "config FS_JOURNAL_INFO"
2009-12-18 7:25 ` Alexey Dobriyan
@ 2009-12-18 7:48 ` Hiroshi Shimamoto
2009-12-19 11:51 ` OGAWA Hirofumi
1 sibling, 0 replies; 6+ messages in thread
From: Hiroshi Shimamoto @ 2009-12-18 7:48 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: torvalds, akpm, linux-fsdevel, linux-kernel
Alexey Dobriyan wrote:
> On 12/18/09, Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:
>> So we never allow to make memory usage small with providing an option
>> to remove unused area, right?
>
> We certainly allow this if it results in zero loss in functionality.
Thanks for clarifying this topic.
If you don't mind could you please tell me what zero loss is?
I don't think I could get it exactly.
Is it OK that removing journal_info if !CONFIG_BLOCK?
>
>> If I want to reduce memory usage by this way, should I keep
>> this kind of patches out of tree?
>
> Certainly nobody can prohibit you from keeping patch out of tree.
> But if you want something mainlinable, moving ->journal_info
> to fs-specific data structures should do the trick. Or something.
Thanks for the advice, I'll look at this.
Thanks,
Hiroshi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: revert "config FS_JOURNAL_INFO"
2009-12-18 7:25 ` Alexey Dobriyan
2009-12-18 7:48 ` Hiroshi Shimamoto
@ 2009-12-19 11:51 ` OGAWA Hirofumi
1 sibling, 0 replies; 6+ messages in thread
From: OGAWA Hirofumi @ 2009-12-19 11:51 UTC (permalink / raw)
To: Alexey Dobriyan
Cc: Hiroshi Shimamoto, torvalds, akpm, linux-fsdevel, linux-kernel
Alexey Dobriyan <adobriyan@gmail.com> writes:
> On 12/18/09, Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:
>> So we never allow to make memory usage small with providing an option
>> to remove unused area, right?
>
> We certainly allow this if it results in zero loss in functionality.
>
>> If I want to reduce memory usage by this way, should I keep
>> this kind of patches out of tree?
>
> Certainly nobody can prohibit you from keeping patch out of tree.
> But if you want something mainlinable, moving ->journal_info
> to fs-specific data structures should do the trick. Or something.
Why doesn't this use EMBEDDED?
I.e.
boot "xxx" if EMBEDDED
default y
style Kconfig.
Only reason which seems reasonable is "this is done only for one pointer
on task_struct". This reason seems something like "You care, but I don't
care it". And, other reasons is *normal* situation on EMBEDDED, right?
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-12-19 11:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 8:31 revert "config FS_JOURNAL_INFO" Alexey Dobriyan
2009-12-17 20:09 ` Andrew Morton
2009-12-18 4:04 ` Hiroshi Shimamoto
2009-12-18 7:25 ` Alexey Dobriyan
2009-12-18 7:48 ` Hiroshi Shimamoto
2009-12-19 11:51 ` OGAWA Hirofumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox