Re: 2.6.24-rc2-mm1

Andrew Morton
2007-11-14T04:56:38Z

On Wed, 14 Nov 2007 04:41:38 +0100 Gabriel C <nix.or.die@googlemail.com> wrote:

> Uff clone-prepare-to-recycle-clone_detached-and-clone_stopped.patch *really* spams.
> Looks like some programs are using this 'deprecated flag'.
>
> Could this have some CONFIG_SPAM_ME_PLEASE ?;)
>
> This is what I got in some minutes :
>
>
> --dmesg|grep 'used deprecated clone flags'|sed 's/.*] //'|sort -u
> fork(): process `artsd' used deprecated clone flags 0x400000
> fork(): process `firefox-bin' used deprecated clone flags 0x400000
> fork(): process `gcompris' used deprecated clone flags 0x400000
> fork(): process `qgit' used deprecated clone flags 0x400000
> fork(): process `thunderbird-bin' used deprecated clone flags 0x400000
> fork(): process `wish' used deprecated clone flags 0x400000
> fork(): process `xchat' used deprecated clone flags 0x400000
> fork(): process `kdbus' used deprecated clone flags 0x400000
>
> --dmesg|grep 'used deprecated clone flags'|wc -l
> 151

hm, that was supposed to shut itself off after 100 messages:

if (unlikely(clone_flags & (CLONE_DETACHED|CLONE_STOPPED))) {
static int __read_mostly count = 100;

if (count && printk_ratelimit()) {
char comm[TASK_COMM_LEN];

count--;
printk(KERN_INFO "fork(): process `%s' used deprecated "
"clone flags 0x%lx\n",
get_task_comm(comm, current),
clone_flags & (CLONE_DETACHED|CLONE_STOPPED));
}
}

I don't see how you got 151 instances. I guess I'm having another stupid
day.

Oh well. That's CLONE_DETACHED and I think Ulrich's question just got
answered.

Which distro/version are you running?

Thanks for letting us know....