look for zsmalloc.h under include/linux
git cleanup

Conflicts:
	arch/arm/boot/compressed/.gitignore
	arch/arm/boot/compressed/piggy.xzkern
ARM Patches

Conflicts:
	arch/arm/include/asm/errno.h
	arch/arm/include/asm/poll.h
	arch/arm/include/asm/sections.h
	arch/arm/kernel/machine_kexec.c

Conflicts:
	arch/arm/include/asm/cputime.h
convert strict_strtoul to kstrtoul for ukms.c
mm/slub.c: fix page->_count corruption (again)

Commit abca7c496584 ("mm: fix slab->page _count corruption when using
slub") notes that we can not _set_ a page->counters directly, except
when using a real double-cmpxchg.  Doing so can lose updates to
->_count.

That is an absolute rule:

        You may not *set* page->counters except via a cmpxchg.

Commit abca7c496584 fixed this for the folks who have the slub
cmpxchg_double code turned off at compile time, but it left the bad case
alone.  It can still be reached, and the same bug triggered in two
cases:

1. Turning on slub debugging at runtime, which is available on
   the distro kernels that I looked at.
2. On 64-bit CPUs with no CMPXCHG16B (some early AMD x86-64
   cpus, evidently)

There are at least 3 ways we could fix this:

1. Take all of the exising calls to cmpxchg_double_slab() and
   __cmpxchg_double_slab() and convert them to take an old, new
   and target 'struct page'.
2. Do (1), but with the newly-introduced 'slub_data'.
3. Do some magic inside the two cmpxchg...slab() functions to
   pull the counters out of new_counters and only set those
   fields in page->{inuse,frozen,objects}.

I've done (2) as well, but it's a bunch more code.  This patch is an
attempt at (3).  This was the most straightforward and foolproof way
that I could think to do this.

This would also technically allow us to get rid of the ugly

#if defined(CONFIG_HAVE_CMPXCHG_DOUBLE) && \
       defined(CONFIG_HAVE_ALIGNED_STRUCT_PAGE)

in 'struct page', but leaving it alone has the added benefit that
'counters' stays 'unsigned' instead of 'unsigned long', so all the
copies that the slub code does stay a bit smaller.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Add Zen I/O Scheduler
Thanks to Android Developer Alliance

Conflicts:

	block/Kconfig.iosched
	block/Makefile

+ "Add Zen I/O Scheduler" ... -> https://github.com/kgp700/exyroid-sgs2-ics/commit/f6d66dfbdf97cdf06784611436581d90d75ae967

Conflicts:
	block/Kconfig.iosched
	block/Makefile

Conflicts:
	block/Kconfig.iosched
	block/Makefile
BLOCK: ZEN I/O Sched Tuning.
Revert "Implement ck1 patchset, fixed build with it"

This reverts commit 09ce007a357e3a2bb33e583e9e0518bbc7525ec1.
Revert "move zram to mm"

This reverts commit bc014164965041cf6717fc783fa992869f948170.

Conflicts:
	drivers/block/Kconfig
	drivers/block/Makefile
	drivers/staging/Kconfig
Revert "zram: destroy all devices on error recovery path in zram_init()"

This reverts commit d49dc325bab6ba519664733356a7b383ad1957e7.
Revert "zram: use zram->lock to protect zram_free_page() in swap free notify path"

This reverts commit d29f85359c4cb561a45cd3ccbdc7aeaba38c7abd.

Signed-off-by: k2wl <kar2wlan@gmail.com>
Revert "Staging: Fixes string split across lines in zram"

This reverts commit c2712ba418c0a7dc3bed0edb71c4e8f090bf0813.

Signed-off-by: k2wl <kar2wlan@gmail.com>
Revert "staging: zsmalloc: access page->private by using page_private macro"

This reverts commit 79563c0c496bfc71083e33786d5469fd9882525c.

Signed-off-by: k2wl <kar2wlan@gmail.com>
Revert "Staging: Fixes string split across lines in zsmalloc zsmalloc-main"

This reverts commit e58fc22e10789c790f5ec5e2a9a78895ae1632bc.

Signed-off-by: k2wl <kar2wlan@gmail.com>
Revert "Revert "move zram to mm""

This reverts commit 6ac3ebbdf584bac5d8fa5e45519aaa3a31059b6f.

Signed-off-by: k2wl <kar2wlan@gmail.com>
Revert "LOWMEM_CHECK"

This reverts commit 753287ae3af7a12c4158c278f8d0d17936c18a72.

Signed-off-by: k2wl <kar2wlan@gmail.com>
add sio back

Signed-off-by: k2wl <kar2wlan@gmail.com>
Remove the Functions for SWAP trash.
Wiped last trace of swap ringlock

Signed-off-by: k2wl <kar2wlan@gmail.com>
Restored Swap Trash, but it's will be disabled if ZRAM is loaded in config :)

Signed-off-by: k2wl <kar2wlan@gmail.com>

Conflicts:
	include/linux/swap.h