Re: [PATCH libibverbs] memory: use SCNxPTR format to read uintptr_t values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 11, 2012 at 08:47:05AM -0700, Roland Dreier wrote:

> Looks fine in itself, and I don't necessarily expect you to be the one
> to answer, but:
> 
>  - what does /proc/<pid>/maps show when running a 32-bit process on a 64-bit
>    kernel?  Should we be using uint64_t / SCNx64?  (but surely 32-bit processes
>    are guaranteed to have all their mappings fit into 32 bits)

Linux 2.6.35.9 #3 Wed Jan 5 12:06:51 MST 2011 x86_64 GNU/Linux

08048000-08052000 r-xp 00000000 ca:00 32652                              /bin/cat

So PTR seems right..

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux