From: Thomas Graf Date: Sat, 5 Nov 2005 20:14:13 +0000 (+0100) Subject: [PKT_SCHED]: GRED: Use a central table definition change procedure X-Git-Tag: v2.6.15-rc1~452^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6639607ed9deaed9ab3a1cc588f0288891ece2ac;p=pandora-kernel.git [PKT_SCHED]: GRED: Use a central table definition change procedure Introduces a function gred_change_table_def() acting as a central point to change the table definition. Adds missing validations for table definition: MAX_DPs > DPs > 0 and def_DP < DPs thus fixing possible invalid memory reference oopses. Only root could do it but having a typo crashing the machine is a bit hard. Adds missing locking while changing the table definition, the operation of changing the number of DPs and removing shadowed VQs may not be interrupted by a dequeue. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed