Re: How to wake_up the wait_queue of a socket?

2013-01-18 Thread horseriver
On Fri, Jan 18, 2013 at 10:18:19AM +0800, Peter Teoh wrote: essentially, when the packet arrive, it will be assigned to the correct process based on IP address + port matching, and then the corresponding process's blocked scheduling status will be changed to continue execution, so that when

Re: How to wake_up the wait_queue of a socket?

2013-01-18 Thread Peter Teoh
On Sat, Jan 19, 2013 at 1:36 AM, horseriver horseriv...@gmail.com wrote: On Fri, Jan 18, 2013 at 10:18:19AM +0800, Peter Teoh wrote: essentially, when the packet arrive, it will be assigned to the correct process based on IP address + port matching, and then the corresponding process's

Re: How to wake_up the wait_queue of a socket?

2013-01-17 Thread Peter Teoh
essentially, when the packet arrive, it will be assigned to the correct process based on IP address + port matching, and then the corresponding process's blocked scheduling status will be changed to continue execution, so that when the scheduler next selection of runnable process will pick him out

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:

How to wake_up the wait_queue of a socket?

2013-01-14 Thread horseriver
hi: When one datagram has reached , How to wake_up the wait_queue of that socket ? Thanks! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies