-----Original Message----- From: pradeep singh [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 8:13 PM To: [EMAIL PROTECTED] Cc: [email protected] Subject: Re: Doubt on process_backlog
On 7/9/07, Rajendra Stalekar <[EMAIL PROTECTED]> wrote: > Why do we need to remove the backlog_dev from the poll_list using (list_del > function) after the frames are dequeued and the input_pkt_queue is empty in > process_backlog() method, there is always a possibility that I can receive > frames on the input_pkt_queue for that particular device. > > In that case I will have to again insert backlog_dev into the poll_list. > This is an overhead . Not exactly, else you ll starve other devices in the poll list. >> How will the other devices starve, when we are polling the list of devices? Do you mean to say that the moment we have dequeued the packets , then that's the time we remove it from the list, so that now the next device gets polled, so this way now this particular device gets priority. However what I am puzzled is in the net_rx_action function, if the poll method still have packets in the input queue waiting to be processed we remove the device from the poll_list. Why is that? > > > Regards, > > Rajendra Stalekar(extn 2016) > > Location:- Akruti > > Mobile no:- +91 9860501143 > > > > -- play the game -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ
