All of lore.kernel.org
 help / color / mirror / Atom feed
From: aq <aquynh@gmail.com>
To: Reiner Sailer <sailer@us.ibm.com>
Cc: xen-devel@lists.xensource.com, Stefan Berger <stefanb@us.ibm.com>
Subject: Re: [PATCH] 1 of 2: default ssid to 0
Date: Sun, 26 Jun 2005 19:04:54 +0900	[thread overview]
Message-ID: <9cde8bff05062603045533ebf@mail.gmail.com> (raw)
In-Reply-To: <OF925F6D60.79986553-ON8525702C.0012218A-8525702C.001254CB@us.ibm.com>

On 6/26/05, Reiner Sailer <sailer@us.ibm.com> wrote:
> > Message: 7
> > Date: Sat, 25 Jun 2005 20:39:20 -0500
> > From: aq <aquynh@gmail.com>
> > Subject: Re: [Xen-devel] [PATCH] 1 of 2: default ssid to 0
> > To: Stefan Berger <stefanb@us.ibm.com>
> > Cc: xen-devel@lists.xensource.com
> > Message-ID: <9cde8bff05062518394eab73cb@mail.gmail.com>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > On 6/25/05, Stefan Berger <stefanb@us.ibm.com> wrote:
> > > Hello!
> > >
> > > Attached is the patch that changes the default ssid from 0xffffffff to
> 0
> > > as discussed in previous emails.
> > >
> > > Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
> > > Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
> > >
> > >    Stefan
> > >
> >
> >
> >
> > +     for(j=0; j<= CWALL_MAX_SSIDREFS; j++)
> > +         if ((0 < j) &&( j <= CWALL_MAX_TYPES))
> > +             ssidrefs[j*CWALL_MAX_TYPES + j - 1] = htons(1);
> > +
> >
> > why dont you run the loop from j=1?
> 
> 
> because row j=0 is the new default ssid and has no types set.
> We start with row j=1 and set the "diagonal" types to one.

i meant in the above loop, if start from j=1 you can eliminate the
check (if 0<j), because in case j=0 you does nothing.

regards,
aq

  reply	other threads:[~2005-06-26 10:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-26  3:20 [PATCH] 1 of 2: default ssid to 0 Reiner Sailer
2005-06-26 10:04 ` aq [this message]
2005-06-26 13:55 ` David Hopwood
  -- strict thread matches above, loose matches on Subject: below --
2005-06-25 18:29 Stefan Berger
2005-06-26  0:21 ` Anthony Liguori
2005-06-26  1:39 ` aq
2005-06-26  1:45 ` aq
2005-06-26  1:49   ` Mark Williamson
2005-06-26  2:18     ` aq
2005-06-26  2:24       ` Mark Williamson
2005-06-26 10:07         ` aq
2005-06-26 16:10     ` Stefan Berger
2005-06-26 16:13       ` Keir Fraser
2005-06-26 19:05         ` Chris Wright
2005-06-27 18:10       ` Josh Triplett

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=9cde8bff05062603045533ebf@mail.gmail.com \
    --to=aquynh@gmail.com \
    --cc=sailer@us.ibm.com \
    --cc=stefanb@us.ibm.com \
    --cc=xen-devel@lists.xensource.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 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.