linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <ttabi@interactivesi.com>
To: Linux MM mailing list <linux-mm@kvack.org>
Subject: Deleting an element from a free_list?
Date: Tue, 27 Jun 2000 13:46:43 -0500	[thread overview]
Message-ID: <20000627185658Z131176-21002+56@kanga.kvack.org> (raw)

free_area[x].free_list.next points to the head of a linked list of free blocks
of order x (2^x contiguous pages).  If I simply remove one element from one of
these linked lists, using function list_del() in list.h, does that effectively
remove that block from the free list and hence prevent the kernel from
allocating those blocks of memory to anyone else?  This is assuming that I never
ever plan to "unallocate" those blocks of memory.  Will I need to also update
the corresponding mem_map_t structures by doing something like setting the usage
count to 1 or setting some bits in the flags field?



--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

             reply	other threads:[~2000-06-27 18:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-27 18:46 Timur Tabi [this message]
2000-06-27 18:55 frankeh
2000-06-27 18:57 ` Timur Tabi

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=20000627185658Z131176-21002+56@kanga.kvack.org \
    --to=ttabi@interactivesi.com \
    --cc=linux-mm@kvack.org \
    /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