summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-01-25 12:02:10 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-01-28 11:43:31 -0500
commit706b7761abea968da71639a2a715afd72add7155 (patch)
tree23416ac8299a592d0506393b18d1632c3648b20e /tools/perf/scripts/python/parallel-perf.py
parent6034d9d48e62a0bf36ce8926b556da52f4d13455 (diff)
downloadkernel-706b7761abea968da71639a2a715afd72add7155.tar.gz
drm/mgag200: Replace ttm_bo_unref with ttm_bo_put
The function ttm_bo_put releases a reference to a TTM buffer object. The function's name is more aligned to the Linux kernel convention of naming ref-counting function _get and _put. A call to ttm_bo_unref takes the address of the TTM BO object's pointer and clears the pointer's value to NULL. This is not necessary in most cases and sometimes even worked around by the calling code. A call to ttm_bo_put only releases the reference without clearing the pointer. The current behaviour of cleaning the pointer is kept in the calling code, but should be removed if not required in a later patch. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
age_io.c?id=6a8c068774ad7634b43bebd97182141765398835'>mm/page_io: use a folio in sio_read_complete()ZhangPeng 2023-08-18mm/page_io: use a folio in __end_swap_bio_read()ZhangPeng 2023-08-18mm/page_io: use a folio in __end_swap_bio_write()ZhangPeng 2023-08-18mm/page_io: remove unneeded SetPageError()ZhangPeng 2023-08-18mm/page_io: remove unneeded ClearPageUptodate()ZhangPeng 2023-05-31swap: use __bio_add_page to add page to bioJohannes Thumshirn 2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds 2023-02-03swap: use bvec_set_page to initialize bvecsChristoph Hellwig 2023-02-02block: remove ->rw_pageChristoph Hellwig 2023-02-02mm: factor out a swap_writepage_bdev helperChristoph Hellwig 2023-02-02mm: remove the __swap_writepage return valueChristoph Hellwig 2023-02-02mm: use an on-stack bio for synchronous swapinChristoph Hellwig 2023-02-02mm: factor out a swap_readpage_bdev helperChristoph Hellwig 2023-02-02mm: remove the swap_readpage return valueChristoph Hellwig 2023-01-18page_io: remove buffer_head includeMatthew Wilcox (Oracle) 2022-11-25use less confusing names for iov_iter direction initializersAl Viro 2022-10-03swap: convert swap_writepage() to use a folioMatthew Wilcox (Oracle) 2022-09-26mm/page_io: count submission time as thrashing delay for delayacctYang Yang 2022-09-11mm/swap: remove the end_write_func argument to __swap_writepageChristoph Hellwig 2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds 2022-05-24Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds 2022-05-09MM: handle THP in swap_*page_fs() - count_vm_events()NeilBrown 2022-05-09mm: handle THP in swap_*page_fs()NeilBrown 2022-05-09mm: submit multipage write for SWP_FS_OPS swap-spaceNeilBrown 2022-05-09mm: submit multipage reads for SWP_FS_OPS swap-spaceNeilBrown 2022-05-09mm: perform async writes to SWP_FS_OPS swap-space using ->swap_rwNeilBrown 2022-05-09mm: introduce ->swap_rw and use it for reads from SWP_FS_OPS swap-spaceNeilBrown 2022-05-09mm: drop swap_dirty_folioNeilBrown 2022-05-09mm: create new mm/swap.h header fileNeilBrown 2022-05-09mm: Convert swap_readpage to call read_folio instead of readpageMatthew Wilcox (Oracle) 2022-05-02block: ignore RWF_HIPRI hint for sync dioMing Lei