1. 13 3月, 2018 1 次提交
  2. 29 12月, 2017 1 次提交
  3. 20 12月, 2017 2 次提交
  4. 09 12月, 2017 2 次提交
  5. 29 11月, 2017 1 次提交
  6. 15 10月, 2017 1 次提交
  7. 20 6月, 2017 1 次提交
  8. 08 6月, 2017 1 次提交
  9. 09 5月, 2017 1 次提交
    • M
      treewide: use kv[mz]alloc* rather than opencoded variants · 752ade68
      Michal Hocko 提交于
      There are many code paths opencoding kvmalloc.  Let's use the helper
      instead.  The main difference to kvmalloc is that those users are
      usually not considering all the aspects of the memory allocator.  E.g.
      allocation requests <= 32kB (with 4kB pages) are basically never failing
      and invoke OOM killer to satisfy the allocation.  This sounds too
      disruptive for something that has a reasonable fallback - the vmalloc.
      On the other hand those requests might fallback to vmalloc even when the
      memory allocator would succeed after several more reclaim/compaction
      attempts previously.  There is no guarantee something like that happens
      though.
      
      This patch converts many of those places to kv[mz]alloc* helpers because
      they are more conservative.
      
      Link: http://lkml.kernel.org/r/20170306103327.2766-2-mhocko@kernel.orgSigned-off-by: NMichal Hocko <mhocko@suse.com>
      Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> # Xen bits
      Acked-by: NKees Cook <keescook@chromium.org>
      Acked-by: NVlastimil Babka <vbabka@suse.cz>
      Acked-by: Andreas Dilger <andreas.dilger@intel.com> # Lustre
      Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> # KVM/s390
      Acked-by: Dan Williams <dan.j.williams@intel.com> # nvdim
      Acked-by: David Sterba <dsterba@suse.com> # btrfs
      Acked-by: Ilya Dryomov <idryomov@gmail.com> # Ceph
      Acked-by: Tariq Toukan <tariqt@mellanox.com> # mlx4
      Acked-by: Leon Romanovsky <leonro@mellanox.com> # mlx5
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: Anton Vorontsov <anton@enomsg.org>
      Cc: Colin Cross <ccross@android.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Kent Overstreet <kent.overstreet@gmail.com>
      Cc: Santosh Raspatur <santosh@chelsio.com>
      Cc: Hariprasad S <hariprasad@chelsio.com>
      Cc: Yishai Hadas <yishaih@mellanox.com>
      Cc: Oleg Drokin <oleg.drokin@intel.com>
      Cc: "Yan, Zheng" <zyan@redhat.com>
      Cc: Alexander Viro <viro@zeniv.linux.org.uk>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Cc: David Miller <davem@davemloft.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      752ade68
  10. 28 2月, 2017 1 次提交
  11. 19 11月, 2016 1 次提交
  12. 22 9月, 2016 1 次提交
  13. 19 9月, 2016 1 次提交
  14. 30 4月, 2016 1 次提交
  15. 27 4月, 2016 1 次提交
  16. 22 3月, 2016 1 次提交
  17. 11 1月, 2016 1 次提交
  18. 24 12月, 2015 3 次提交
  19. 09 12月, 2015 1 次提交
  20. 05 10月, 2015 2 次提交
  21. 19 8月, 2015 1 次提交
  22. 14 8月, 2015 1 次提交
  23. 13 8月, 2015 2 次提交
  24. 11 8月, 2015 2 次提交
  25. 04 8月, 2015 1 次提交
  26. 22 7月, 2015 1 次提交
  27. 09 7月, 2015 1 次提交
  28. 04 7月, 2015 1 次提交
  29. 11 6月, 2015 3 次提交
  30. 02 6月, 2015 1 次提交
  31. 28 5月, 2015 1 次提交
    • H
      cxgb4/cxgb4vf: function and argument name cleanup · b2612722
      Hariprasad Shenai 提交于
      This patch changes variable name 'fn' to 'pf' of structure adapter.
      A 'fn' usually stands for PCI function which could be a PF or a VF.
      However, the use of this particular variable is explicitly limited to PF
      only. So, be specific about it in the variable name.
      
      Also corrects arguments passed for fn t4_ofld_eq_free, t4_ctrl_eq_free,
      t4_eth_eq_free, t4_iq_free, t4_alloc_vi, t4_fw_hello, t4_wr_mbox and
      t4_cfg_pfvf function.
      
      Also renames cxgb4_t4_bar2_sge_qregs to t4_bar2_sge_qregs and renames
      the latter function name in cxgb4vf driver to t4vf_bar2_sge_qregs to
      avoid conflicts. Also fixes alignment for these function.
      Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b2612722