summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.com>2017-02-03 13:13:29 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-03 14:13:19 -0800
commit5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6 (patch)
tree5cb5c671a5ca2b92a1a54a2721a8c06a493966d1 /tools/perf/scripts/python/bin
parentd1908f52557b3230fbd63c0429f3b4b748bf2b6d (diff)
downloadkernel-5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6.tar.gz
mm, fs: check for fatal signals in do_generic_file_read()
do_generic_file_read() can be told to perform a large request from userspace. If the system is under OOM and the reading task is the OOM victim then it has an access to memory reserves and finishing the full request can lead to the full memory depletion which is dangerous. Make sure we rather go with a short read and allow the killed task to terminate. Link: http://lkml.kernel.org/r/20170201092706.9966-3-mhocko@kernel.org Signed-off-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
>Tzung-Bi Shih 2020-07-09ASoC: mediatek: mt8183-da7219: extract codec and DAI namesTzung-Bi Shih 2020-07-09ASoC: mediatek: mt8183-da7219: remove forward declaration of headset_initTzung-Bi Shih 2020-07-09ASoC: mediatek: mt8183-da7219: sort header inclusions in alphabeticalTzung-Bi Shih 2020-06-23ASoC: mediatek: mt8183-da7219: set playback and capture constraintsTzung-Bi Shih 2020-05-11ASoC: mediatek: mt8183-da7219: set headset button mapsTzung-Bi Shih 2020-03-27ASoC: mediatek: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI poi...Kuninori Morimoto 2020-03-10ASoC: mediatek: use for_each_rtd_codecs/cpus_dai() macroKuninori Morimoto 2020-02-19ASoC: mediatek: mt8183-da7219-max98357: use for_each_rtd_codec_dai() macroKuninori Morimoto 2020-02-19ASoC: mediatek: mt8183-da7219: use SND_SOC_DAPM_PINCTRL in TDM outTzung-Bi Shih 2020-02-13ASoC: mediatek: mt8183-da7219: apply some refactorsTzung-Bi Shih 2020-02-13ASoC: mediatek: mt8183-da7219: support TDM out and 8ch I2S outTzung-Bi Shih 2020-02-13ASoC: mediatek: mt8183-da7219: pull TDM GPIO pins down when probedTzung-Bi Shih 2020-02-13ASoC: mediatek: mt8183-da7219: change supported formats of DL2 and UL1Tzung-Bi Shih 2020-02-12ASoC: mediatek: mt8183-da7219: add speaker switchTzung-Bi Shih 2019-12-16ASoC: mediatek: mt8183-da7219-max98357: use snd_soc_dai_link_component for co...Kuninori Morimoto 2019-08-15ASoC: mediatek: mt8183-da7219-max98357: remove unused variableYueHaibing 2019-08-09ASoC: mediatek: mt8183-da7219-max98357: use snd_soc_dai_link_component for au...Kuninori Morimoto 2019-06-06ASoC: mediatek: mt8183-da7219-max98357: use modern dai_link styleKuninori Morimoto 2019-05-23ASoC: mediatek: mt8183: remove unused DAPM pinsTzung-Bi Shih 2019-04-04ASoC: Mediatek: MT8183: Fix platform_no_drv_owner.cocci warningsYueHaibing 2019-04-03ASoC: Mediatek: MT8183: Fix build error in mt8183_da7219_max98357_dev_probeYueHaibing 2019-04-01ASoC: Mediatek: MT8183: Add machine driver with DA7219Shunli Wang