aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/zram
AgeCommit message (Expand)AuthorFilesLines
12 daysMerge tag 'mm-stable-2026-06-18-09-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+9
2026-06-08zram: drop unused bio parameter from write helpersCunlong Li1-4/+4
2026-06-04zram: clear trailing bytes of compressed writeback pagesSergey Senozhatsky1-0/+2
2026-06-04zram: do not leak blk idx at the end of writebackSergey Senozhatsky1-0/+3
2026-06-03zram: fix use-after-free in zram_bvec_write_partial()Cunlong Li1-1/+1
2026-05-21zram: fix use-after-free in zram_writeback_endioRichard Chang1-1/+5
2026-04-18zram: reject unrecognized type= values in recompress_store()Andrew Stellman1-0/+2
2026-04-18zram: do not forget to endio for partial discard requestsSergey Senozhatsky1-1/+2
2026-04-05zram: change scan_slots to return voidSergey Senozhatsky1-9/+5
2026-04-05zram: propagate read_from_bdev_async() errorsSergey Senozhatsky1-7/+8
2026-04-05zram: optimize LZ4 dictionary compression performancegao xu1-3/+26
2026-04-05zram: unify and harden algo/priority params handlingSergey Senozhatsky1-40/+66
2026-04-05zram: remove chained recompressionSergey Senozhatsky1-60/+24
2026-04-05zram: drop ->num_active_compsSergey Senozhatsky2-14/+16
2026-04-05zram: do not autocorrect bad recompression parametersSergey Senozhatsky1-9/+8
2026-04-05zram: do not permit params change after initSergey Senozhatsky1-0/+4
2026-04-05zram: use statically allocated compression algorithm namesgao xu3-26/+13
2026-03-21zram: do not slot_free() written-back slotsSergey Senozhatsky1-25/+14
2026-03-04zram: rename writeback_compressed device attrSergey Senozhatsky2-13/+13
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds6-13/+13
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook6-16/+16
2026-01-31zram: rename init_lock to dev_lockSergey Senozhatsky2-32/+32
2026-01-26zsmalloc: use actual object size to detect spansSergey Senozhatsky1-6/+8
2026-01-20zram: remove KMSG_COMPONENT macroHeiko Carstens1-2/+1
2026-01-20zram: drop pp_in_progressSergey Senozhatsky2-25/+8
2026-01-20zram: fixup read_block_state()Sergey Senozhatsky1-5/+2
2026-01-20zram: trivial fix of recompress_slot() coding stylesSergey Senozhatsky1-5/+6
2026-01-20zram: rename internal slot APISergey Senozhatsky1-181/+182
2026-01-20zram: use u32 for entry ac_time trackingSergey Senozhatsky2-32/+37
2026-01-20zram: consolidate device-attr declarationsSergey Senozhatsky1-4/+3
2026-01-20zram: switch to guard() for init_lockSergey Senozhatsky1-134/+77
2026-01-20zram: rename zram_free_page()Sergey Senozhatsky1-10/+10
2026-01-20zram: move bd_stat to writeback sectionSergey Senozhatsky1-27/+21
2026-01-20zram: introduce writeback_compressed device attributeRichard Chang1-0/+38
2026-01-20zram: introduce compressed data writebackRichard Chang2-53/+227
2025-11-29zram: fix a spelling mistakeChu Guangqing1-1/+1
2025-11-24zram: fix the issue that the write - back limits might overflowYuwen Chen1-0/+10
2025-11-24zram: read slot block idx under slot lockSergey Senozhatsky1-3/+3
2025-11-24zram: rework bdev block allocationSergey Senozhatsky1-19/+18
2025-11-24zram: drop wb_limit_lockSergey Senozhatsky2-18/+5
2025-11-24zram: take write lock in wb limit store handlersSergey Senozhatsky1-7/+10
2025-11-24zram: add writeback batch size device attrSergey Senozhatsky2-6/+41
2025-11-24zram: introduce writeback bio batchingSergey Senozhatsky1-68/+301
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-15/+8
2025-10-02Merge tag 'for-6.18/block-20250929' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2025-09-21Merge branch 'mm-hotfixes-stable' into mm-stable in order to pick upAndrew Morton1-5/+3
2025-09-15zram: fix slot write race conditionSergey Senozhatsky1-5/+3
2025-09-13zram: protect recomp_algorithm_show() with ->init_lockSergey Senozhatsky1-15/+8
2025-09-09drivers/block: replace use of system_unbound_wq with system_dfl_wqMarco Crivellari1-1/+1
2025-07-03zram: pass buffer offset to zcomp_available_show()Sergey Senozhatsky3-13/+13
2025-07-03block: zram: replace scnprintf() with sysfs_emit() in *_show() functionsRahul Kumar1-11/+11
2025-05-31zram: support deflate-specific paramsSergey Senozhatsky3-6/+28
2025-05-31zram: rename ZCOMP_PARAM_NO_LEVELSergey Senozhatsky6-7/+7
2025-05-11zram: modernize writeback interfaceSergey Senozhatsky1-105/+215
2025-05-11zsmalloc: prefer the the original page's node for compressed dataNhat Pham1-3/+8
2025-03-16zram: add might_sleep to zcomp APISergey Senozhatsky1-0/+2
2025-03-16zram: do not leak page on writeback_store error pathSergey Senozhatsky1-2/+4
2025-03-16zram: do not leak page on recompress_store error pathSergey Senozhatsky1-3/+3
2025-03-16zram: permit reclaim in zstd custom allocatorSergey Senozhatsky1-10/+1
2025-03-16zram: switch to new zsmalloc object mapping APISergey Senozhatsky3-19/+15
2025-03-16zram: move post-processing target allocationSergey Senozhatsky1-28/+22
2025-03-16zram: rework recompression loopSergey Senozhatsky1-34/+20
2025-03-16zram: filter out recomp targets based on prioritySergey Senozhatsky1-9/+16
2025-03-16zram: limit max recompress prio to num_active_compsSergey Senozhatsky1-3/+12
2025-03-16zram: remove writestall zram_stats memberSergey Senozhatsky2-3/+1
2025-03-16zram: add GFP_NOWARN to incompressible zsmalloc handle allocationSergey Senozhatsky1-1/+2
2025-03-16zram: remove second stage of handle allocationSergey Senozhatsky1-32/+7
2025-03-16zram: remove max_comp_streams device attrSergey Senozhatsky1-23/+0
2025-03-16zram: remove unused crypto includeSergey Senozhatsky3-3/+3
2025-03-16zram: permit preemption with active compression streamSergey Senozhatsky3-25/+42
2025-03-16zram: sleepable entry lockingSergey Senozhatsky2-17/+52
2025-01-25zram: remove zcomp_stream_put() from write_incompressible_page()Sergey Senozhatsky1-1/+0
2025-01-25zram: cond_resched() in writeback loopSergey Senozhatsky1-0/+2
2025-01-25zram: use zram_read_from_zspool() in writebackSergey Senozhatsky1-7/+4
2025-01-25zram: factor out different page types readSergey Senozhatsky1-33/+52
2025-01-25zram: factor out ZRAM_HUGE writeSergey Senozhatsky1-53/+83
2025-01-25zram: factor out ZRAM_SAME writeSergey Senozhatsky1-16/+21
2025-01-25zram: remove entry element memberSergey Senozhatsky2-22/+6
2025-01-25zram: free slot memory early during writeSergey Senozhatsky1-6/+5
2025-01-12zram: fix potential UAF of zram tableKairui Song1-0/+1
2024-12-18zram: fix uninitialized ZRAM not releasing backing deviceKairui Song1-5/+4
2024-12-18zram: refuse to use zero sized block device as backing deviceKairui Song1-0/+6
2024-11-14zram: fix NULL pointer in comp_algorithm_show()Liu Shixin1-3/+2
2024-11-11zram: ZRAM_DEF_COMP should depend on ZRAMGeert Uytterhoeven1-0/+1
2024-11-11zram: clear IDLE flag in mark_idle()Sergey Senozhatsky1-0/+2
2024-11-11zram: clear IDLE flag after recompressionSergey Senozhatsky1-0/+7
2024-11-06zram: do not open-code comp priority 0Sergey Senozhatsky1-2/+2
2024-11-05zram: remove UNDER_WB and simplify writebackSergey Senozhatsky2-38/+16
2024-11-05zram: reshuffle zram_free_page() flags operationsSergey Senozhatsky1-11/+7
2024-11-05zram: do not mark idle slots that cannot be idleSergey Senozhatsky1-7/+18
2024-11-05zram: rework writeback target selection strategySergey Senozhatsky1-19/+64
2024-11-05zram: rework recompress target selection strategySergey Senozhatsky1-27/+160
2024-11-05zram: permit only one post-processing operation at a timeSergey Senozhatsky2-0/+17
2024-11-05zram: introduce ZRAM_PP_SLOT flagSergey Senozhatsky2-0/+3
2024-09-26zram: don't free statically defined namesAndrey Skvortsov1-2/+4
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds20-126/+1240
2024-09-17zram: free secondary algorithms namesSergey Senozhatsky1-0/+5
2024-09-09zram: support priority parameter in recompressionSergey Senozhatsky1-0/+12
2024-09-09zram: add dictionary support to zstd backendSergey Senozhatsky1-23/+121
2024-09-09zram: add dictionary support to lz4hcSergey Senozhatsky1-7/+68
2024-09-09zram: add dictionary support to lz4Sergey Senozhatsky1-7/+67
2024-09-09zram: move immutable comp params away from per-CPU contextSergey Senozhatsky9-98/+168
2024-09-09zram: introduce zcomp_ctx structureSergey Senozhatsky9-135/+149
2024-09-09zram: introduce zcomp_req structureSergey Senozhatsky9-72/+77
2024-09-09zram: add support for dict comp configSergey Senozhatsky1-9/+36
2024-09-09zram: introduce algorithm_params device attributeSergey Senozhatsky1-0/+68
2024-09-09zram: recalculate zstd compression params onceSergey Senozhatsky1-2/+3
2024-09-09zram: introduce zcomp_params structureSergey Senozhatsky11-24/+67
2024-09-09zram: check that backends array has at least one backendSergey Senozhatsky2-6/+21
2024-09-09zram: add 842 compression backend supportSergey Senozhatsky5-0/+94
2024-09-09zram: add zlib compression backend supportSergey Senozhatsky5-0/+158
2024-09-09zram: pass estimated src size hint to zstdSergey Senozhatsky1-2/+2
2024-09-09zram: add zstd compression backend supportSergey Senozhatsky5-0/+123
2024-09-09zram: add lz4hc compression backend supportSergey Senozhatsky5-2/+100
2024-09-09zram: add lz4 compression backend supportSergey Senozhatsky5-0/+98
2024-09-09zram: add lzo and lzorle compression backends supportSergey Senozhatsky7-0/+140
2024-09-09zram: introduce custom comp backends APISergey Senozhatsky4-151/+76
2024-09-06zram: Shrink zram_table_entry::flags.Sebastian Andrzej Siewior2-2/+3
2024-09-06zram: Remove ZRAM_LOCKSebastian Andrzej Siewior2-12/+3
2024-09-06zram: Replace bit spinlocks with a spinlock_t.Mike Galbraith2-4/+15
2024-09-03zsmalloc: use all available 24 bits of page_typeMatthew Wilcox (Oracle)1-1/+0
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+1
2024-07-03mm/zsmalloc: use a proper page typeDavid Hildenbrand1-0/+1
2024-06-19block: move the synchronous flag to queue_limitsChristoph Hellwig1-2/+2
2024-06-19block: move the stable_writes flag to queue_limitsChristoph Hellwig1-1/+1
2024-06-19block: move the nonrot flag to queue_limitsChristoph Hellwig1-2/+0
2024-05-21Merge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-23/+8
2024-05-02zram: don't bother with reopening - just use O_EXCL for openAl Viro2-23/+8
2024-04-25zram: add max_pages param to recompressionSergey Senozhatsky1-3/+28
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-4/+4
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-26/+25
2024-03-04zram: zcomp: remove zcomp_set_max_streams() declarationKefeng Wang1-1/+0
2024-02-25zram: port block device access to fileChristian Brauner2-14/+14
2024-02-22zram: do not allocate physically contiguous strm buffersBarry Song1-2/+3
2024-02-22zram: use copy_page for full page copyMark-PK Tsai1-1/+1
2024-02-19zram: pass queue_limits to blk_mq_alloc_diskChristoph Hellwig1-24/+23
2024-02-19block: pass a queue_limits argument to blk_alloc_diskChristoph Hellwig1-3/+3
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-1/+0
2023-12-29zram: use the default discard granularityChristoph Hellwig1-1/+0
2023-12-10zram: use kmap_local_page()Sergey Senozhatsky1-15/+15
2023-12-10zram: tweak writeback config helpSergey Senozhatsky1-2/+2
2023-12-10zram: split memory-tracking and ac-time trackingSergey Senozhatsky3-16/+24
2023-10-28zram: Convert to use bdev_open_by_dev()Jan Kara2-18/+15
2023-08-05zram: take device and not only bvec offset into accountChristoph Hellwig1-12/+20
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-06-19zram: further limit recompression thresholdSergey Senozhatsky1-1/+1
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-3/+3
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-4/+4
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-8/+5
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+1
2023-05-31zram: use __bio_add_page for adding single page to bioJohannes Thumshirn1-1/+1
2023-05-06Merge tag 'for-6.4/block-2023-05-06' of git://git.kernel.dk/linuxLinus Torvalds1-1/+0
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-246/+137
2023-04-25block/drivers: remove dead clear of random flagChaitanya Kulkarni1-1/+0
2023-04-18zram: return errors from read_from_bdev_syncChristoph Hellwig1-3/+4
2023-04-18zram: fix synchronous readsChristoph Hellwig1-38/+22
2023-04-18zram: don't return errors from read_from_bdev_asyncChristoph Hellwig1-12/+4
2023-04-18zram: pass a page to read_from_bdevChristoph Hellwig1-27/+16
2023-04-18zram: refactor zram_bdev_writeChristoph Hellwig1-19/+19
2023-04-18zram: don't pass a bvec to __zram_bvec_writeChristoph Hellwig1-10/+4
2023-04-18zram: refactor zram_bdev_readChristoph Hellwig1-20/+20
2023-04-18zram: directly call zram_read_page in writeback_storeChristoph Hellwig1-10/+4
2023-04-18zram: rename __zram_bvec_read to zram_read_pageChristoph Hellwig1-4/+4
2023-04-18zram: don't use highmem for the bounce buffer in zram_bvec_{read,write}Christoph Hellwig1-12/+5
2023-04-18zram: refactor highlevel read and write handlingChristoph Hellwig1-28/+30
2023-04-18zram: return early on error in zram_bvec_rwChristoph Hellwig1-9/+9
2023-04-18zram: move discard handling to zram_submit_bioChristoph Hellwig1-10/+13
2023-04-18zram: simplify bvec iteration in __zram_make_requestChristoph Hellwig1-30/+10
2023-04-18zram: make zram_bio_discard more self-containedChristoph Hellwig1-9/+7
2023-04-18zram: remove valid_io_requestChristoph Hellwig2-34/+1
2023-04-18zram: always compile read_from_bdev_syncChristoph Hellwig1-12/+6
2023-04-18zram: fix up permission for the hot_add sysfs fileGreg Kroah-Hartman1-1/+3
2023-03-29driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman1-6/+5
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-1/+0
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-64/+5
2023-02-03zram: use bvec_set_page to initialize bvecsChristoph Hellwig1-11/+4
2023-02-02block: remove ->rw_pageChristoph Hellwig1-60/+1
2023-01-18zram: correctly handle all next_arg() casesSergey Senozhatsky1-2/+2
2023-01-18zram: fix typos in commentsJeongHyeon Lee1-2/+2
2022-11-30zram: remove unused stats fieldsSergey Senozhatsky2-4/+0
2022-11-30zram: add incompressible flag to read_block_state()Sergey Senozhatsky1-2/+4
2022-11-30zram: add incompressible writebackSergey Senozhatsky1-6/+12
2022-11-30zram: add algo parameter support to zram_recompress()Sergey Senozhatsky2-9/+46
2022-11-30zram: remove redundant checks from zram_recompress()Sergey Senozhatsky1-6/+2
2022-11-30zram: add size class equals check into recompressionAlexey Romanov1-1/+10
2022-11-30zram: use IS_ERR_VALUE() to check for zs_malloc() errorsSergey Senozhatsky1-3/+3
2022-11-30zram: clarify writeback_store() commentSergey Senozhatsky1-2/+6
2022-11-30zram: add recompress flag to read_block_state()Sergey Senozhatsky1-2/+3
2022-11-30zram: introduce recompress sysfs knobSergey Senozhatsky3-3/+277
2022-11-30zram: factor out WB and non-WB zram read functionsSergey Senozhatsky1-23/+49
2022-11-30zram: add recompression algorithm sysfs knobSergey Senozhatsky1-19/+105
2022-11-30zram: preparation for multi-zcomp supportSergey Senozhatsky4-32/+80
2022-11-08zram: use try_cmpxchg in update_used_maxUros Bizjak1-8/+5
2022-10-14Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-23/+3
2022-10-12zram: always expose rw_pageBrian Geffon1-23/+3
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-22/+31
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-3/+3
2022-10-03zram: keep comments within 80-columns limitSergey Senozhatsky1-8/+11
2022-10-03zram: do not waste zram_table_entry flags bitsSergey Senozhatsky2-8/+9
2022-09-21block: move from strlcpy with unused retval to strscpyWolfram Sang1-3/+3