Re: struct nbd_reply not packed = trouble?

2013-01-15 Thread Yann Droneaud
Hi, Le mardi 15 janvier 2013 à 07:59 +0800, 卜弋天 a écrit : 在 2013-1-11,0:42,Yann Droneaud ydrone...@opteya.com 写道: - Any ideas for a platform where you would expect struct nbd_reply to be other than 4 + 4 + 8 = 16 bytes in size? Look for an ABI that require 'char' with either

Is make rpm-pkg and make binrpm-pkg same?

2013-01-15 Thread Bin Wang
Hi, I build the kernel with make rpm-pkg and make binrpm-pkg. The make help shows: rpm-pkg - Build both source and binary RPM kernel packages binrpm-pkg- Build only the binary kernel package But except the different process, the RPMs I got seems same. I look the

Re: Is make rpm-pkg and make binrpm-pkg same?

2013-01-15 Thread Anuz Pratap Singh Tomar
On Tue, Jan 15, 2013 at 2:03 PM, Bin Wang wbi...@gmail.com wrote: Hi, I build the kernel with make rpm-pkg and make binrpm-pkg. The make help shows: rpm-pkg - Build both source and binary RPM kernel packages binrpm-pkg- Build only the binary kernel package But

Re: How to wake_up the wait_queue of a socket?

2013-01-15 Thread Valdis . Kletnieks
On Mon, 14 Jan 2013 17:50:03 +0800, horseriver said: When one datagram has reached , How to wake_up the wait_queue of that socket ? Please clarify your question - I'm not sure which of the following you mean: 1) How does the kernel wake up the waiting process when a datagram arrives? 2)

Re: How to wake_up the wait_queue of a socket?

2013-01-15 Thread horseriver
On Tue, Jan 15, 2013 at 12:25:10PM -0500, valdis.kletni...@vt.edu wrote: On Mon, 14 Jan 2013 17:50:03 +0800, horseriver said: When one datagram has reached , How to wake_up the wait_queue of that socket ? Please clarify your question - I'm not sure which of the following you mean: