On Mon, Apr 02, 2007 at 10:51:27PM +0200, Pavel Machek wrote:
> > >
> > > Should we create CONFIG_FREEZER?
> >
> > Why do you think so? I think the freezer should be compiled automatically
> > if any of the above is set, which is what this directive really means.
>
> Kconfig can do that.
On Mon, Apr 02, 2007 at 10:51:27PM +0200, Pavel Machek wrote:
Should we create CONFIG_FREEZER?
Why do you think so? I think the freezer should be compiled automatically
if any of the above is set, which is what this directive really means.
Kconfig can do that. (select statement).
Hi.
On Sat, 2007-04-07 at 11:33 +0200, Rafael J. Wysocki wrote:
> On Saturday, 7 April 2007 00:20, Nigel Cunningham wrote:
> > > > > > > - current->flags |= PF_NOFREEZE;
> > > > > > > + freezer_exempt(FE_ALL);
> > > > > > > pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
> > > > > > >
On Saturday, 7 April 2007 00:20, Nigel Cunningham wrote:
> Hi.
>
> On Fri, 2007-04-06 at 16:34 +0200, Rafael J. Wysocki wrote:
> > On Monday, 2 April 2007 22:51, Pavel Machek wrote:
> > > Hi!
> > >
> > > > > > +/* Per process freezer specific flags */
> > > > > > +#define PF_FE_SUSPEND
On Saturday, 7 April 2007 00:20, Nigel Cunningham wrote:
Hi.
On Fri, 2007-04-06 at 16:34 +0200, Rafael J. Wysocki wrote:
On Monday, 2 April 2007 22:51, Pavel Machek wrote:
Hi!
+/* Per process freezer specific flags */
+#define PF_FE_SUSPEND 0x8000 /* This
Hi.
On Sat, 2007-04-07 at 11:33 +0200, Rafael J. Wysocki wrote:
On Saturday, 7 April 2007 00:20, Nigel Cunningham wrote:
- current-flags |= PF_NOFREEZE;
+ freezer_exempt(FE_ALL);
pid = kernel_thread(do_linuxrc, /linuxrc, SIGCHLD);
if (pid 0) {
Hi.
On Fri, 2007-04-06 at 16:34 +0200, Rafael J. Wysocki wrote:
> On Monday, 2 April 2007 22:51, Pavel Machek wrote:
> > Hi!
> >
> > > > > +/* Per process freezer specific flags */
> > > > > +#define PF_FE_SUSPEND0x8000 /* This thread should
> > > > > not be frozen
> > > > > +
On Monday, 2 April 2007 22:51, Pavel Machek wrote:
> Hi!
>
> > > > +/* Per process freezer specific flags */
> > > > +#define PF_FE_SUSPEND 0x8000 /* This thread should not be
> > > > frozen
> > > > +* for suspend
> > > > +
Hi!
> > > +/* Per process freezer specific flags */
> > > +#define PF_FE_SUSPEND0x8000 /* This thread should not be
> > > frozen
> > > + * for suspend
> > > + */
> > > +
> > > +#define PF_FE_KPROBES0x0010
Hi!
+/* Per process freezer specific flags */
+#define PF_FE_SUSPEND0x8000 /* This thread should not be
frozen
+ * for suspend
+ */
+
+#define PF_FE_KPROBES0x0010 /* This thread
On Monday, 2 April 2007 22:51, Pavel Machek wrote:
Hi!
+/* Per process freezer specific flags */
+#define PF_FE_SUSPEND 0x8000 /* This thread should not be
frozen
+* for suspend
+*/
Hi.
On Fri, 2007-04-06 at 16:34 +0200, Rafael J. Wysocki wrote:
On Monday, 2 April 2007 22:51, Pavel Machek wrote:
Hi!
+/* Per process freezer specific flags */
+#define PF_FE_SUSPEND0x8000 /* This thread should
not be frozen
+
On Thu, Apr 05, 2007 at 01:46:33PM +0400, Oleg Nesterov wrote:
> On 04/02, Gautham R Shenoy wrote:
> >
> > +/*
> > + * Exempt the current process from being frozen for a certain event
> > + */
> > +static inline void freezer_exempt(unsigned long exempt_freeze_event)
> > +{
> > + if
On 04/05, Gautham R Shenoy wrote:
>
> On Thu, Apr 05, 2007 at 01:46:33PM +0400, Oleg Nesterov wrote:
> >
> > > --- linux-2.6.21-rc5.orig/kernel/sched.c
> > > +++ linux-2.6.21-rc5/kernel/sched.c
> > > @@ -5057,6 +5057,7 @@ static int migration_thread(void *data)
> > > BUG_ON(rq->migration_thread
On 04/02, Gautham R Shenoy wrote:
>
> +/*
> + * Exempt the current process from being frozen for a certain event
> + */
> +static inline void freezer_exempt(unsigned long exempt_freeze_event)
> +{
> + if (exempt_freeze_event == FE_NONE)
> + current->flags &= ~PF_FE_ALL;
> +
On 04/05, Gautham R Shenoy wrote:
On Thu, Apr 05, 2007 at 01:46:33PM +0400, Oleg Nesterov wrote:
--- linux-2.6.21-rc5.orig/kernel/sched.c
+++ linux-2.6.21-rc5/kernel/sched.c
@@ -5057,6 +5057,7 @@ static int migration_thread(void *data)
BUG_ON(rq-migration_thread != current);
On Thu, Apr 05, 2007 at 01:46:33PM +0400, Oleg Nesterov wrote:
On 04/02, Gautham R Shenoy wrote:
+/*
+ * Exempt the current process from being frozen for a certain event
+ */
+static inline void freezer_exempt(unsigned long exempt_freeze_event)
+{
+ if (exempt_freeze_event ==
On 04/02, Gautham R Shenoy wrote:
+/*
+ * Exempt the current process from being frozen for a certain event
+ */
+static inline void freezer_exempt(unsigned long exempt_freeze_event)
+{
+ if (exempt_freeze_event == FE_NONE)
+ current-flags = ~PF_FE_ALL;
+ else
+
On Mon, Apr 02, 2007 at 10:48:24PM +0200, Rafael J. Wysocki wrote:
> On Monday, 2 April 2007 15:56, Pavel Machek wrote:
> > Hi!
> >
> > > This patch provides an interface to extend the use of the process
> > > freezer beyond Suspend.
> > >
> > > The tasks can selectively mark themselves to be
On Mon, Apr 02, 2007 at 10:48:24PM +0200, Rafael J. Wysocki wrote:
On Monday, 2 April 2007 15:56, Pavel Machek wrote:
Hi!
This patch provides an interface to extend the use of the process
freezer beyond Suspend.
The tasks can selectively mark themselves to be exempted from
On Monday, 2 April 2007 15:56, Pavel Machek wrote:
> Hi!
>
> > This patch provides an interface to extend the use of the process
> > freezer beyond Suspend.
> >
> > The tasks can selectively mark themselves to be exempted from specific
> > freeze events like SUSPEND /KPROBES/CPU_HOTPLUG.
> >
Hi!
> This patch provides an interface to extend the use of the process
> freezer beyond Suspend.
>
> The tasks can selectively mark themselves to be exempted from specific
> freeze events like SUSPEND /KPROBES/CPU_HOTPLUG.
>
> This patch however, *does not* sort non freezable threads into
>
Hi!
This patch provides an interface to extend the use of the process
freezer beyond Suspend.
The tasks can selectively mark themselves to be exempted from specific
freeze events like SUSPEND /KPROBES/CPU_HOTPLUG.
This patch however, *does not* sort non freezable threads into
On Monday, 2 April 2007 15:56, Pavel Machek wrote:
Hi!
This patch provides an interface to extend the use of the process
freezer beyond Suspend.
The tasks can selectively mark themselves to be exempted from specific
freeze events like SUSPEND /KPROBES/CPU_HOTPLUG.
This patch
This patch provides an interface to extend the use of the process
freezer beyond Suspend.
The tasks can selectively mark themselves to be exempted from specific
freeze events like SUSPEND /KPROBES/CPU_HOTPLUG.
This patch however, *does not* sort non freezable threads into
different categories
This patch provides an interface to extend the use of the process
freezer beyond Suspend.
The tasks can selectively mark themselves to be exempted from specific
freeze events like SUSPEND /KPROBES/CPU_HOTPLUG.
This patch however, *does not* sort non freezable threads into
different categories
26 matches
Mail list logo