On Tuesday, 20 March 2007 01:31, Andrew Morton wrote:
> On Mon, 12 Mar 2007 22:19:20 +0100
> "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
>
> > Make swsusp use memory bitmaps instead of page flags for marking 'nosave'
> > and
> > free pages. This allows us to 'recycle' two page flags that can
Hi!
> > The patch is designed to minimize the amount of changes and there are some
> > nice
> > simplifications and optimizations possible on top of it. I am going to
> > implement them separately in the future.
>
> Blows up with ia64 allmodconfig due to CONFIG_PM=y, CONFIG_SOFTWARE_SUSPEND=n:
Hi!
The patch is designed to minimize the amount of changes and there are some
nice
simplifications and optimizations possible on top of it. I am going to
implement them separately in the future.
Blows up with ia64 allmodconfig due to CONFIG_PM=y, CONFIG_SOFTWARE_SUSPEND=n:
On Tuesday, 20 March 2007 01:31, Andrew Morton wrote:
On Mon, 12 Mar 2007 22:19:20 +0100
Rafael J. Wysocki [EMAIL PROTECTED] wrote:
Make swsusp use memory bitmaps instead of page flags for marking 'nosave'
and
free pages. This allows us to 'recycle' two page flags that can be used
On Mon, 12 Mar 2007 22:19:20 +0100
"Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
> free pages. This allows us to 'recycle' two page flags that can be used for
> other
> purposes. Also, the memory needed to store
On Mon, 12 Mar 2007 22:19:20 +0100
Rafael J. Wysocki [EMAIL PROTECTED] wrote:
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for
other
purposes. Also, the memory needed to store the
On Thursday, 15 March 2007 23:23, Andrew Morton wrote:
> On Thu, 15 Mar 2007 23:19:02 +0100 (CET)
> Jiri Kosina <[EMAIL PROTECTED]> wrote:
>
> > On Thu, 15 Mar 2007, Andrew Morton wrote:
> >
> > > > > And why _does_ suspend use GFP_ATOMIC all over the place?
> > > > Generally, because it cannot
Hi!
> > > > On Mon, 12 Mar 2007 22:19:20 +0100 "Rafael J. Wysocki" <[EMAIL
> > > > PROTECTED]> wrote:
> > > > +int create_basic_memory_bitmaps(void)
> > > > +{
> > > > + struct memory_bitmap *bm1, *bm2;
> > > > + int error = 0;
> > > > +
> > > > + BUG_ON(forbidden_pages_map ||
On Thu, 15 Mar 2007 23:19:02 +0100 (CET)
Jiri Kosina <[EMAIL PROTECTED]> wrote:
> On Thu, 15 Mar 2007, Andrew Morton wrote:
>
> > > > And why _does_ suspend use GFP_ATOMIC all over the place?
> > > Generally, because it cannot sleep.
> > Why not?
>
> I guess it's simply beucase of kswapd being
On Thu, 15 Mar 2007, Andrew Morton wrote:
> > > And why _does_ suspend use GFP_ATOMIC all over the place?
> > Generally, because it cannot sleep.
> Why not?
I guess it's simply beucase of kswapd being already frozen, so there is no
chance that once GFP_KERNEL allocation goes to sleep, it is
On Thu, 15 Mar 2007 22:05:53 +0100
"Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> On Thursday, 15 March 2007 20:08, Andrew Morton wrote:
> > > On Mon, 12 Mar 2007 22:19:20 +0100 "Rafael J. Wysocki" <[EMAIL
> > > PROTECTED]> wrote:
> > > +int create_basic_memory_bitmaps(void)
> > > +{
> > > +
On Thursday, 15 March 2007 20:08, Andrew Morton wrote:
> > On Mon, 12 Mar 2007 22:19:20 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]>
> > wrote:
> > +int create_basic_memory_bitmaps(void)
> > +{
> > + struct memory_bitmap *bm1, *bm2;
> > + int error = 0;
> > +
> > +
> On Mon, 12 Mar 2007 22:19:20 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]>
> wrote:
> +int create_basic_memory_bitmaps(void)
> +{
> + struct memory_bitmap *bm1, *bm2;
> + int error = 0;
> +
> + BUG_ON(forbidden_pages_map || free_pages_map);
> +
> + bm1 = kzalloc(sizeof(struct
On Mon, 12 Mar 2007 22:19:20 +0100 Rafael J. Wysocki [EMAIL PROTECTED]
wrote:
+int create_basic_memory_bitmaps(void)
+{
+ struct memory_bitmap *bm1, *bm2;
+ int error = 0;
+
+ BUG_ON(forbidden_pages_map || free_pages_map);
+
+ bm1 = kzalloc(sizeof(struct memory_bitmap),
On Thursday, 15 March 2007 20:08, Andrew Morton wrote:
On Mon, 12 Mar 2007 22:19:20 +0100 Rafael J. Wysocki [EMAIL PROTECTED]
wrote:
+int create_basic_memory_bitmaps(void)
+{
+ struct memory_bitmap *bm1, *bm2;
+ int error = 0;
+
+ BUG_ON(forbidden_pages_map ||
On Thu, 15 Mar 2007 22:05:53 +0100
Rafael J. Wysocki [EMAIL PROTECTED] wrote:
On Thursday, 15 March 2007 20:08, Andrew Morton wrote:
On Mon, 12 Mar 2007 22:19:20 +0100 Rafael J. Wysocki [EMAIL
PROTECTED] wrote:
+int create_basic_memory_bitmaps(void)
+{
+ struct memory_bitmap
On Thu, 15 Mar 2007, Andrew Morton wrote:
And why _does_ suspend use GFP_ATOMIC all over the place?
Generally, because it cannot sleep.
Why not?
I guess it's simply beucase of kswapd being already frozen, so there is no
chance that once GFP_KERNEL allocation goes to sleep, it is going to
On Thu, 15 Mar 2007 23:19:02 +0100 (CET)
Jiri Kosina [EMAIL PROTECTED] wrote:
On Thu, 15 Mar 2007, Andrew Morton wrote:
And why _does_ suspend use GFP_ATOMIC all over the place?
Generally, because it cannot sleep.
Why not?
I guess it's simply beucase of kswapd being already frozen,
Hi!
On Mon, 12 Mar 2007 22:19:20 +0100 Rafael J. Wysocki [EMAIL
PROTECTED] wrote:
+int create_basic_memory_bitmaps(void)
+{
+ struct memory_bitmap *bm1, *bm2;
+ int error = 0;
+
+ BUG_ON(forbidden_pages_map || free_pages_map);
+
+
On Thursday, 15 March 2007 23:23, Andrew Morton wrote:
On Thu, 15 Mar 2007 23:19:02 +0100 (CET)
Jiri Kosina [EMAIL PROTECTED] wrote:
On Thu, 15 Mar 2007, Andrew Morton wrote:
And why _does_ suspend use GFP_ATOMIC all over the place?
Generally, because it cannot sleep.
Why not?
From: Rafael J. Wysocki <[EMAIL PROTECTED]>
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for
other
purposes. Also, the memory needed to store the bitmaps is allocated when
necessary (ie.
Hi!
> Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
> free pages. This allows us to 'recycle' two page flags that can be used for
> other
> purposes. Also, the memory needed to store the bitmaps is allocated when
> necessary (ie. before the suspend) and freed
Hi!
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for
other
purposes. Also, the memory needed to store the bitmaps is allocated when
necessary (ie. before the suspend) and freed after
From: Rafael J. Wysocki [EMAIL PROTECTED]
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for
other
purposes. Also, the memory needed to store the bitmaps is allocated when
necessary (ie.
From: Rafael J. Wysocki <[EMAIL PROTECTED]>
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for
other
purposes. Also, the memory needed to store the bitmaps is allocated when
necessary (ie.
From: Rafael J. Wysocki [EMAIL PROTECTED]
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for
other
purposes. Also, the memory needed to store the bitmaps is allocated when
necessary (ie.
26 matches
Mail list logo