1. 30 12月, 2016 1 次提交
    • M
      net: dev_weight: TX/RX orthogonality · 3d48b53f
      Matthias Tafelmeier 提交于
      Oftenly, introducing side effects on packet processing on the other half
      of the stack by adjusting one of TX/RX via sysctl is not desirable.
      There are cases of demand for asymmetric, orthogonal configurability.
      
      This holds true especially for nodes where RPS for RFS usage on top is
      configured and therefore use the 'old dev_weight'. This is quite a
      common base configuration setup nowadays, even with NICs of superior processing
      support (e.g. aRFS).
      
      A good example use case are nodes acting as noSQL data bases with a
      large number of tiny requests and rather fewer but large packets as responses.
      It's affordable to have large budget and rx dev_weights for the
      requests. But as a side effect having this large a number on TX
      processed in one run can overwhelm drivers.
      
      This patch therefore introduces an independent configurability via sysctl to
      userland.
      Signed-off-by: NMatthias Tafelmeier <matthias.tafelmeier@gmx.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3d48b53f
  2. 21 12月, 2016 3 次提交
    • D
      net: hix5hd2_gmac: fix compatible strings name · f7ca8e3b
      Dongpo Li 提交于
      The SoC hix5hd2 compatible string has the suffix "-gmac" and
      we should not change its compatible string.
      So we should name all the compatible string with the suffix "-gmac".
      Creating a new name suffix "-gemac" is unnecessary.
      
      We also add another SoC compatible string in dt binding documentation
      and describe which generic version the SoC belongs to.
      
      Fixes: d0fb6ba7 ("net: hix5hd2_gmac: add generic compatible string")
      Signed-off-by: NDongpo Li <lidongpo@hisilicon.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f7ca8e3b
    • J
      dt: bindings: net: use boolean dt properties for eee broken modes · 308d3165
      jbrunet 提交于
      The patches regarding eee-broken-modes was merged before all people
      involved could find an agreement on the best way to move forward.
      
      While we agreed on having a DT property to mark particular modes as broken,
      the value used for eee-broken-modes mapped the phy register in very direct
      way. Because of this, the concern is that it could be used to implement
      configuration policies instead of describing a broken HW.
      
      In the end, having a boolean property for each mode seems to be preferred
      over one bit field value mapping the register (too) directly.
      
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      308d3165
    • M
      ima: define a canonical binary_runtime_measurements list format · d68a6fe9
      Mimi Zohar 提交于
      The IMA binary_runtime_measurements list is currently in platform native
      format.
      
      To allow restoring a measurement list carried across kexec with a
      different endianness than the targeted kernel, this patch defines
      little-endian as the canonical format.  For big endian systems wanting
      to save/restore the measurement list from a system with a different
      endianness, a new boot command line parameter named "ima_canonical_fmt"
      is defined.
      
      Considerations: use of the "ima_canonical_fmt" boot command line option
      will break existing userspace applications on big endian systems
      expecting the binary_runtime_measurements list to be in platform native
      format.
      
      Link: http://lkml.kernel.org/r/1480554346-29071-10-git-send-email-zohar@linux.vnet.ibm.comSigned-off-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
      Acked-by: NDmitry Kasatkin <dmitry.kasatkin@gmail.com>
      Cc: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Andreas Steffen <andreas.steffen@strongswan.org>
      Cc: Josh Sklar <sklar@linux.vnet.ibm.com>
      Cc: Dave Young <dyoung@redhat.com>
      Cc: Vivek Goyal <vgoyal@redhat.com>
      Cc: Baoquan He <bhe@redhat.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Stewart Smith <stewart@linux.vnet.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d68a6fe9
  3. 20 12月, 2016 2 次提交
  4. 19 12月, 2016 3 次提交
  5. 17 12月, 2016 1 次提交
  6. 16 12月, 2016 7 次提交
  7. 15 12月, 2016 13 次提交
  8. 14 12月, 2016 9 次提交
  9. 13 12月, 2016 1 次提交
    • K
      proc: report no_new_privs state · af884cd4
      Kees Cook 提交于
      Similar to being able to examine if a process has been correctly
      confined with seccomp, the state of no_new_privs is equally interesting,
      so this adds it to /proc/$pid/status.
      
      Link: http://lkml.kernel.org/r/20161103214041.GA58566@beastSigned-off-by: NKees Cook <keescook@chromium.org>
      Reviewed-by: NJann Horn <jann@thejh.net>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Vlastimil Babka <vbabka@suse.cz>
      Cc: Michal Hocko <mhocko@suse.com>
      Cc: Konstantin Khlebnikov <koct9i@gmail.com>
      Cc: Hugh Dickins <hughd@google.com>
      Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
      Cc: Rodrigo Freire <rfreire@redhat.com>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Robert Ho <robert.hu@intel.com>
      Cc: Jerome Marchand <jmarchan@redhat.com>
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: "Richard W.M. Jones" <rjones@redhat.com>
      Cc: Joe Perches <joe@perches.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      af884cd4