1. 02 Apr, 2017 6 commits
  2. 29 Mar, 2017 1 commit
    • Vikram Narayanan's avatar
      lcd/ixgbe: Mask unneeded functions · 06f14653
      Vikram Narayanan authored
      Replace
      * dev_{warn,err,info,crit} with LIBLCD variants.
      * v{m,z}alloc with kmalloc for now as vmalloc is not fully supported in the liblcd
      implementation.
      * {alloc,free}_pages with lcd variants
      
      Mask functions that won't be used with LCD driver (for instance irq related
      stuff). Add stubs for other functions that are unlikely to be RPC-ed or pulled
      in.
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      06f14653
  3. 27 Mar, 2017 5 commits
  4. 19 Mar, 2017 1 commit
  5. 17 Mar, 2017 4 commits
  6. 23 Feb, 2017 1 commit
  7. 05 Jan, 2017 1 commit
  8. 19 Dec, 2016 18 commits
  9. 06 Dec, 2016 1 commit
    • Vikram Narayanan's avatar
      merge/v4.8/lcd: Fix lock padding in cptr_cache · 6a435b3b
      Vikram Narayanan authored
      struct cptr_cache in libcap has struct mutex as a member. In its original
      definition struct mutex has ifdef'd members, depending on the config chosen.
      Since, liblcd build undef's certain config's explicitly (such as CONFIG_SMP),
      this alters the size of struct mutex inside liblcd. To make the struct mutexes
      equal in size, padding was introduced.
      
      with 4.8, there is no difference in struct mutex size inside liblcd. So, make
      this padding to zero for proper functioning of libcap.
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      6a435b3b
  10. 27 Nov, 2016 2 commits
    • Vikram Narayanan's avatar
      merge/v4.8/lcd/arch: Switch to new macro/APIs · d53b1d9e
      Vikram Narayanan authored
      __get_cpu_var is replaced by this_cpu_read.
      
      From commit,
      1e02ce4c x86: Store a per-cpu shadow copy of CR4
      CR4 reads take several cycles. So, store a per-cpu shadow copy of CR4.
      
      So, replace direct reads with shadow_read()
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      d53b1d9e
    • Vikram Narayanan's avatar
      merge/v4.8/lcd/mm: Update mm codebase · 3a6f1b20
      Vikram Narayanan authored
      Use our old mm codebase (based on v3.10) and push in changes that are required
      to make it compile with v4.8's header files. To make this work I pulled in
      3.10's slab_def.h to kick out 4.8's slab_def.h
      
      The changes are not that significant
      * Removed struct slab, struct slab_rcu (Use struct page instead)
      * Few kmem_chg related APIs were changed
      * Some minor optimizations
      
      Merged from
      45eed508 slab: remove SLAB_LIMIT
      16025177 slab: remove kmem_bufctl_t
      b1cb0982 slab: change the management method of free objects of the slab
      a57a4988 slab: use __GFP_COMP flag for allocating slab pages
      56f295ef slab: use well-defined macro, virt_to_slab()
      68126702 slab: overloading the RCU head over the LRU for RCU free
      07d417a1 slab: remove cachep in struct slab_rcu
      1ea991b0 slab: remove nodeid in struct slab
      ac2b54ed slab: remove colouroff in struct slab
      0c3aa83e slab: change return type of kmem_getpages() to struct page
      73293c2f slab: correct pfmemalloc check
      276a2439 mm/slab: Give s_next and s_stop slab-specific names
      e25839f6 mm/slab: Sharing s_next and s_stop between slab and slub
      0fa8103b mm/slab: Fix drain freelist excessively
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      3a6f1b20