Linux block layer
 help / color / mirror / Atom feed
* [PATCH] loop: remove redundant __GFP_NOWARN flag
@ 2025-10-07 18:12 Pedro Demarchi Gomes
  2025-10-07 18:48 ` shinichiro.kawasaki
  2025-10-08 12:28 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Pedro Demarchi Gomes @ 2025-10-07 18:12 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, linux-kernel, Pedro Demarchi Gomes

GFP_NOWAIT already includes __GFP_NOWARN, so let's remove the
redundant __GFP_NOWARN.

Signed-off-by: Pedro Demarchi Gomes <pedrodemargomes@gmail.com>
---
 drivers/block/loop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 94ec7f747f36..13ce229d450c 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -824,7 +824,7 @@ static void loop_queue_work(struct loop_device *lo, struct loop_cmd *cmd)
 	if (worker)
 		goto queue_work;
 
-	worker = kzalloc(sizeof(struct loop_worker), GFP_NOWAIT | __GFP_NOWARN);
+	worker = kzalloc(sizeof(struct loop_worker), GFP_NOWAIT);
 	/*
 	 * In the event we cannot allocate a worker, just queue on the
 	 * rootcg worker and issue the I/O as the rootcg
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] loop: remove redundant __GFP_NOWARN flag
  2025-10-07 18:12 [PATCH] loop: remove redundant __GFP_NOWARN flag Pedro Demarchi Gomes
@ 2025-10-07 18:48 ` shinichiro.kawasaki
  2025-10-08 12:28 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: shinichiro.kawasaki @ 2025-10-07 18:48 UTC (permalink / raw)
  To: linux-block; +Cc: shinichiro.kawasaki, dennis.maisenbacher

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

Dear patch submitter,

Blktests CI has tested the following submission:
Status:     FAILURE
Name:       loop: remove redundant __GFP_NOWARN flag
Patchwork:  https://patchwork.kernel.org/project/linux-block/list/?series=1009147&state=*
Run record: https://github.com/linux-blktests/linux-block/actions/runs/18322242115


No failure



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] loop: remove redundant __GFP_NOWARN flag
  2025-10-07 18:12 [PATCH] loop: remove redundant __GFP_NOWARN flag Pedro Demarchi Gomes
  2025-10-07 18:48 ` shinichiro.kawasaki
@ 2025-10-08 12:28 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2025-10-08 12:28 UTC (permalink / raw)
  To: Pedro Demarchi Gomes; +Cc: linux-block, linux-kernel


On Tue, 07 Oct 2025 15:12:05 -0300, Pedro Demarchi Gomes wrote:
> GFP_NOWAIT already includes __GFP_NOWARN, so let's remove the
> redundant __GFP_NOWARN.
> 
> 

Applied, thanks!

[1/1] loop: remove redundant __GFP_NOWARN flag
      commit: 455281c0ef4e2cabdfe2e8b83fa6010d5210811c

Best regards,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-08 12:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-07 18:12 [PATCH] loop: remove redundant __GFP_NOWARN flag Pedro Demarchi Gomes
2025-10-07 18:48 ` shinichiro.kawasaki
2025-10-08 12:28 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox