Linux Container Development
 help / color / mirror / Atom feed
* 2.6.33-rc4 i686 clone function looping (?)
@ 2010-01-18 22:04 Jean-Marc Pigeon
       [not found] ` <1263852243.4745.363.camel-4BUXZ/Ty1v7iqR6jatDSCA@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Jean-Marc Pigeon @ 2010-01-18 22:04 UTC (permalink / raw)
  To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

Hello,

	Same physical system and configuration
	(small system in 32 Bits i686 mode).
	2.6.32.3: 	working A_one.
	2.6.33-rc4:	clone call, looping and
		    	taking ALL CPU cycle.

Here is code used.
;======================================
cloneflg=SIGCHLD|__WCLONE;
cloneflg|=CLONE_NEWNET|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|
CLONE_NEWUTS;
clonestk=(char *)malloc(STKSIZE)
......

;--------------------------------------
  if (argv[0]!=(char *)0) { /*always        */
        static ARGTYP args;

        args.mspid=getpid();
        args.arch=cntarch;
        args.argc=argc;
        args.argv=argv;
        if ((cpid=clone(&doboot,(void *)(clonestk
+STKSIZE),cloneflg,(void *)&args))<0) {
          (void) apl_alert(0,"%s, Unable to clone %s container process
(error=<%s>)",
                              appname,argv[0],strerror(errno));
;======================================

There is some difference within .config file between
both kernel I regenerated, but I do not believe they
are meaningful for the clone/cgroup/veth/bridge functions.
I can provide config diff if needed.

Do we have a real problem with 2.6.33-rc4?? or did I missed
something? could someone confirm trouble with clone call?

Thanks.
-- 
A bientôt
==========================================================================
Jean-Marc Pigeon                                   Internet: jmp@safe.ca
SAFE Inc.                                          Phone: (514) 493-4280
                                                   Fax:   (514) 493-1946
        Clement, 'a kiss solution' to get rid of SPAM (at last)
           Clement' Home base <"http://www.clement.safe.ca">
==========================================================================

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-21 20:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 22:04 2.6.33-rc4 i686 clone function looping (?) Jean-Marc Pigeon
     [not found] ` <1263852243.4745.363.camel-4BUXZ/Ty1v7iqR6jatDSCA@public.gmane.org>
2010-01-19 15:09   ` Serge E. Hallyn
     [not found]     ` <20100119150931.GA7708-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-01-19 16:00       ` 2.6.33-rc4 i686 clone function looping (seems real!) Jean-Marc Pigeon
     [not found]         ` <1263916851.4745.386.camel-4BUXZ/Ty1v7iqR6jatDSCA@public.gmane.org>
2010-01-19 22:10           ` Serge E. Hallyn
2010-01-19 22:15           ` Serge E. Hallyn
2010-01-21 17:13           ` Serge E. Hallyn
     [not found]             ` <20100121171338.GA16904-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-01-21 17:35               ` Peter Zijlstra
2010-01-21 20:20                 ` Serge E. Hallyn
2010-01-21 20:36                 ` [RFC][PATCH] sched: Fix fork vs hotplug vs cpuset namespaces Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox