login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
27
Re: [PATCH -mm 2/2] Introduce freezer flags
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Rafael J. Wysocki <rjw@...>
To: <ego@...>
Cc: Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, Oleg Nesterov <oleg@...>, Pavel Machek <pavel@...>, Pekka Enberg <penberg@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH -mm 2/2] Introduce freezer flags
Date: Friday, April 27, 2007 - 5:49 pm
On Friday, 27 April 2007 23:40, Gautham R Shenoy wrote:
quoted text
> On Fri, Apr 27, 2007 at 05:40:16PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki <rjw@sisk.pl> > > > > Move all of the freezer-related flags to a separate field in task_struct and > > introduce functions to operate them using set_bit() etc. > > > > > > Index: linux-2.6.21-rc7-mm2/include/linux/sched.h > > =================================================================== > > --- linux-2.6.21-rc7-mm2.orig/include/linux/sched.h > > +++ linux-2.6.21-rc7-mm2/include/linux/sched.h > > @@ -1006,7 +1006,10 @@ struct task_struct { > > /* Deadlock detection and priority inheritance handling */ > > struct rt_mutex_waiter *pi_blocked_on; > > #endif > > - > > +#ifdef CONFIG_FREEZER > > + /* Used by the process freezer, defined in freezer.h */ > > + unsigned int freezer_flags; > > unsigned long freezer_flags; ??
I guess so.
quoted text
> Else it throws the following warnings.
On which arch is that? I've tested on x86_64 ...
quoted text
> include/linux/freezer.h: In function `frozen': > include/linux/freezer.h:22: warning: passing arg 2 of > `constant_test_bit' from incompatible pointer type > include/linux/freezer.h:22: warning: passing arg 2 of > `variable_test_bit' from incompatible pointer type > include/linux/freezer.h: In function `set_frozen_flag': > include/linux/freezer.h:27: warning: passing arg 2 of `set_bit' from > incompatible pointer type > include/linux/freezer.h: In function `clear_frozen_flag': > include/linux/freezer.h:32: warning: passing arg 2 of `clear_bit' from > incompatible pointer type > include/linux/freezer.h: In function `freezing': > include/linux/freezer.h:40: warning: passing arg 2 of > `constant_test_bit' from incompatible pointer type > include/linux/freezer.h:40: warning: passing arg 2 of > `variable_test_bit' from incompatible pointer type > include/linux/freezer.h: In function `freeze': > include/linux/freezer.h:48: warning: passing arg 2 of `set_bit' from > incompatible pointer type > include/linux/freezer.h: In function `clear_freeze_flag': > include/linux/freezer.h:56: warning: passing arg 2 of `clear_bit' from > incompatible pointer type > include/linux/freezer.h: In function `freezer_should_exempt': > include/linux/freezer.h:64: warning: passing arg 2 of > `constant_test_bit' from incompatible pointer type > include/linux/freezer.h:64: warning: passing arg 2 of > `variable_test_bit' from incompatible pointer type > include/linux/freezer.h: In function `freezer_exempt': > include/linux/freezer.h:72: warning: passing arg 2 of `set_bit' from > incompatible pointer type > include/linux/freezer.h: In function `freezer_do_not_count': > include/linux/freezer.h:132: warning: passing arg 2 of `set_bit' from > incompatible pointer type > include/linux/freezer.h: In function `freezer_count': > include/linux/freezer.h:142: warning: passing arg 2 of `clear_bit' from > incompatible pointer type > include/linux/freezer.h: In function `freezer_should_skip': > include/linux/freezer.h:152: warning: passing arg 2 of > `constant_test_bit' from incompatible pointer type > include/linux/freezer.h:152: warning: passing arg 2 of > `variable_test_bit' from incompatible pointer type
Greetings, Rafael -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH -mm 0/2] Separate freezer from PM code
, Rafael J. Wysocki
, (Fri Apr 27, 11:37 am)
[PATCH -mm 2/2] Introduce freezer flags
, Rafael J. Wysocki
, (Fri Apr 27, 11:40 am)
[PATCH -mm] Allow selective freezing of the system for diffe...
, Gautham R Shenoy
, (Fri Apr 27, 9:34 pm)
Re: [PATCH -mm] Allow selective freezing of the system for d...
, Rafael J. Wysocki
, (Sun Apr 29, 1:51 pm)
Re: [PATCH -mm] Allow selective freezing of the system for d...
, Gautham R Shenoy
, (Mon Apr 30, 3:19 pm)
Re: [PATCH -mm] Allow selective freezing of the system for d...
, Andrew Morton
, (Sat Apr 28, 2:22 am)
Re: [PATCH -mm] Allow selective freezing of the system for d...
, Gautham R Shenoy
, (Sat Apr 28, 3:45 am)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Gautham R Shenoy
, (Fri Apr 27, 5:40 pm)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Rafael J. Wysocki
, (Fri Apr 27, 5:49 pm)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Rafael J. Wysocki
, (Fri Apr 27, 6:09 pm)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Pavel Machek
, (Fri Apr 27, 6:07 pm)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Rafael J. Wysocki
, (Fri Apr 27, 6:56 pm)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Pavel Machek
, (Sat Apr 28, 3:07 am)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Gautham R Shenoy
, (Fri Apr 27, 5:49 pm)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Sam Ravnborg
, (Fri Apr 27, 12:19 pm)
Re: [PATCH -mm 2/2] Introduce freezer flags
, Gautham R Shenoy
, (Fri Apr 27, 12:33 pm)
[PATCH -mm 1/2] Separate freezer from PM code
, Rafael J. Wysocki
, (Fri Apr 27, 11:38 am)
Re: [PATCH -mm 1/2] Separate freezer from PM code
, Jeremy Fitzhardinge
, (Fri Apr 27, 12:25 pm)
Re: [PATCH -mm 1/2] Separate freezer from PM code
, Rafael J. Wysocki
, (Fri Apr 27, 4:20 pm)
Re: [PATCH -mm 1/2] Separate freezer from PM code
, Jeremy Fitzhardinge
, (Fri Apr 27, 4:20 pm)
Re: [PATCH -mm 1/2] Separate freezer from PM code
, Rafael J. Wysocki
, (Fri Apr 27, 5:29 pm)
Re: [PATCH -mm 1/2] Separate freezer from PM code
, Sam Ravnborg
, (Sun Apr 29, 4:43 am)
Re: [PATCH -mm 1/2] Separate freezer from PM code
, Sam Ravnborg
, (Fri Apr 27, 12:15 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
James Bruce
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Peter Zijlstra
[RFC/PATCH 0/4] CPUSET driven CPU isolation
git
:
linux-netdev
:
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Rick Jones
Re: Network latency regressions from 2.6.22 to 2.6.29
David Miller
[GIT]: Networking
Josip Rodin
bnx2_poll panicking kernel
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
759 guests
online.
Online users
coachoutlet998
regalosresas
richardayala
drzeus
maxicv84
shiatsumassager
Syndicate