summaryrefslogtreecommitdiffstats
path: root/mm/cleancache.c
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2016-12-10 13:23:49 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-10 23:29:47 +0100
commit0be01b8e0a365138e8f94315de13ab3751d199e2 (patch)
tree8f99bba5869107f49d4cec53c6f2f48b42573e3d /mm/cleancache.c
parentnet: ethernet: ti: cpsw: combine budget and weight split and check (diff)
downloadlinux-0be01b8e0a365138e8f94315de13ab3751d199e2.tar.xz
linux-0be01b8e0a365138e8f94315de13ab3751d199e2.zip
net: ethernet: ti: cpsw: re-split res only when speed is changed
Don't re-split res in the following cases: - speed of phys is not changed - speed of phys is changed and no rate limited channels - speed of phys is changed and all channels are rate limited - phy is unlinked while dev is open - phy is linked back but speed is not changed The maximum speed is sum of "linked" phys, thus res are split taken in account two interfaces, both for dual emac mode and for switch mode. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/cleancache.c')
0 files changed, 0 insertions, 0 deletions