All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christophe Jaillet" <christophe.jaillet@wanadoo.fr>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] /mm/slab.c
Date: Mon, 13 Mar 2006 20:34:27 +0000	[thread overview]
Message-ID: <002201c646dd$864603d0$11cfc756@bureau> (raw)

Hi all,

in /mm/slab.c we can find around line 263 :

struct array_cache {
 unsigned int avail;
 unsigned int limit;
 unsigned int batchcount;
 unsigned int touched;
 spinlock_t lock;
 void *entry[0];  /*
     * Must have this definition in here for the proper
     * alignment of array_cache. Also simplifies accessing
     * the entries.
     * [0] is for gcc 2.95. It should really be [].
     */
};

The last line of the comment seems outdated, so maybe it could be removed
and the [0] turned into [] as suggested which is IMO a bit clearer.

As far as I know (/Documentation/Changes), 2.95 is no more the reference
when building the kernel.

As I have actually no way to compile the kernel, I just point it out in case
someone wants to give it a try.

CJ


_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

                 reply	other threads:[~2006-03-13 20:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='002201c646dd$864603d0$11cfc756@bureau' \
    --to=christophe.jaillet@wanadoo.fr \
    --cc=kernel-janitors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.