RE: Doubt on process_backlog

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

 




-----Original Message-----
From: pradeep singh [mailto:2500.pradeep@xxxxxxxxx] 
Sent: Monday, July 09, 2007 8:13 PM
To: rajendra.stalekar@xxxxxxxxx
Cc: kernelnewbies@xxxxxxxxxxxx
Subject: Re: Doubt on process_backlog

On 7/9/07, Rajendra Stalekar <rajendra.stalekar@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux