Re: swsusp with highmem, testing wanted

From: Pavel Machek
Date: Fri Mar 26 2004 - 09:36:56 EST


Hi!

> > > > Which operations are allowed to access highmem? Can I rely on
> > > > block device read/write not accessing highmem?
> > >
> > > You mean modify highmem pages, or?
> >
> > I'd like to know this. Suppose I ask block subsystem to read from disk
> > into page @1.8GB. All the highmem contains trash. Will block subsystem
> > be able to work in this situation?
>
> We've never enforced anything like that, so you cannot rely on it. Block
> layer itself doesn't keep anything in high memory, and I cannot imagine
> any drivers that do either.

Well, if it is possible to enforce that it stays that way, it should
be possible to get something more inteligent for highmem.

Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/