public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "BALBIR SINGH" <balbir.singh@wipro.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Andrea Arcangeli <andrea@suse.de>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: pre6 VM issues
Date: Tue, 09 Oct 2001 20:07:19 +0530	[thread overview]
Message-ID: <3BC30B9F.9060609@wipro.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0110091057470.5604-100000@freak.distro.conectiva>

[-- Attachment #1: Type: text/plain, Size: 2003 bytes --]

Marcelo Tosatti wrote:

>
>On Tue, 9 Oct 2001, BALBIR SINGH wrote:
>
>>Most of the traditional unices maintained a pool for each subsystem
>>(this is really useful when u have the memory to spare), so not matter
>>what they use memory only from their pool (and if needed peek outside),
>>but nobody else used the memory from the pool.
>>
>>I have seen cases where, I have run out of physical memory on my system,
>>so I try to log in using the serial console, but since the serial driver
>>does get_free_page (this most likely fails) and the driver complains back.
>>So, I had suggested a while back that important subsystems should maintain
>>their own pool (it will take a new thread to discuss the right size of
>>each pool).
>>
>>Why can't Linux follow the same approach? especially on systems with a lot
>>of memory.
>>
>
>There is nothing which avoids us from doing that (there is one reserved
>pool I remeber right now: the highmem bounce buffering pool, but that one
>is a special case due to the way Linux does IO in high memory and its only
>needed on _real_ emergencies --- it will be removed in 2.5, I hope).
>
>In general, its a better approach to share the memory and have a unified
>pool. If a given subsystem is not using its own "reversed" memory, another
>subsystems can use it.
>
>The problem we are seeing now can be fixed even without the reserved
>pools.
>
I agree that is the fair and nice thing to do, but I was talking about reserving
memory for device vs sharing it with a user process, user processes can wait,
their pages can even be swapped out if needed. But for a device that is not willing
to wait (GFP_ATOMIC) say in an interrupt context, this might be a issue.


Anyway, how do you plan to solve this ?
Balbir

>
>
>-
>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/
>




[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 853 bytes --]

----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------


  reply	other threads:[~2001-10-09 14:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-09 12:44 pre6 VM issues Marcelo Tosatti
2001-10-09 12:48 ` Marcelo Tosatti
2001-10-09 14:17 ` BALBIR SINGH
2001-10-09 13:01   ` Marcelo Tosatti
2001-10-09 14:37     ` BALBIR SINGH [this message]
2001-10-09 13:22       ` Marcelo Tosatti
2001-10-09 14:43       ` BALBIR SINGH
2001-10-09 14:44       ` Andrea Arcangeli
2001-10-09 14:56         ` BALBIR SINGH
2001-10-09 14:31 ` Andrea Arcangeli
2001-10-09 13:13   ` Marcelo Tosatti
2001-10-09 14:42     ` Andrea Arcangeli
2001-10-09 13:23   ` Marcelo Tosatti
2001-10-09 14:53     ` Andrea Arcangeli
2001-10-09 14:50 ` Andrea Arcangeli
2001-10-09 13:34   ` Marcelo Tosatti
2001-10-09 15:39     ` Andrea Arcangeli
2001-10-09 15:08       ` Marcelo Tosatti
2001-10-09 16:49         ` Andrea Arcangeli
2001-10-09 17:07           ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BC30B9F.9060609@wipro.com \
    --to=balbir.singh@wipro.com \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox