[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <507EF918.5030004@panasas.com>
Date: Wed, 17 Oct 2012 11:29:44 -0700
From: Boaz Harrosh <bharrosh@...asas.com>
To: Jim Rees <rees@...ch.edu>
CC: Dave Jones <davej@...hat.com>,
"J. Bruce Fields" <bfields@...ldses.org>,
Sasha Levin <levinsasha928@...il.com>,
<Trond.Myklebust@...app.com>, <davem@...emloft.net>,
<linux-nfs@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] SUNRPC: Prevent kernel stack corruption on long values
of flush
On 07/18/2012 01:55 PM, Jim Rees wrote:
> Dave Jones wrote:
>
>
> Unsigned long isn't necessarily 32 bits.
> On 64-bit systems %lu can be up to 18446744073709551615
>
> Thanks. You caught me thinking "Intel." How embarrassing.
What? why even on Intel-64 long is 64bit. long is always the
same or bigger then a pointer (A pointer must always fit
in a long)
On the other hand int is 32bit in Intel-64 unlike some
other CPUs where int(s) may get to be 64bit as well.
Cheers
Boaz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists