Re: [TuxOnIce-devel] [RFC] TuxOnIce

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

On Tue, 2009-05-26 at 11:19 +0200, Pavel Machek wrote:
> Hi!
> 
> > > If you really have drivers that have exceptionally large memory requirements
> > > (eg. you need to copy video ram), you should tell the system through struct
> > > driver and do accounting at probe and removal of devices.
> > 
> > Or perhaps the drivers should allocate memory from a PM notifier (which is
> > called before the freezing of tasks) to avoid the problem?
> 
> Yes, that's how it should work for big allocations.
> 
> For small allocations... I still believe we should free a bit of
> memory for s2ram so that small allocations can be done without
> problems.

Big vs small shouldn't matter. One simple, clear method of doing things.
Otherwise we won't get the predictability we're seeking.

Nigel

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux