[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081107.225608.01221973.davem@davemloft.net>
Date: Fri, 07 Nov 2008 22:56:08 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: tgraf@...g.ch
Cc: netdev@...r.kernel.org
Subject: Re: [RESEND] pkt_sched: Control group classifier
From: Thomas Graf <tgraf@...g.ch>
Date: Thu, 6 Nov 2008 17:13:30 +0100
> The classifier should cover the most common use case and will work
> without any special configuration.
>
> The principle of the classifier is to directly access the
> task_struct via get_current(). In order for this to work,
> classification requests from softirqs must be ignored. This is
> not a problem because the vast majority of packets in softirq
> context are not assigned to a task anyway. For this to work, a
> mechanism is needed to trace softirq context.
>
> This repost goes back to the method of relying on the number of
> nested bh disable calls for the sake of not adding too much
> complexity and the option to come up with something more reliable
> if actually needed.
>
> Signed-off-by: Thomas Graf <tgraf@...g.ch>
Applied, thanks Thomas.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists