From: Arne Welzel <arne.welzel@corelight.com> To: Mikulas Patocka <mpatocka@redhat.com> Cc: dm-crypt@saout.de, dm-devel@redhat.com, DJ Gregor <dj@corelight.com>, agk@redhat.com, snitzer@redhat.com Subject: Re: [dm-devel] [PATCH] dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc() Date: Thu, 12 Aug 2021 21:47:41 +0200 (CEST) [thread overview] Message-ID: <39101295-ed12-33c1-ce1-86a649f5582@corelight.com> (raw) In-Reply-To: <alpine.LRH.2.02.2108101420250.26585@file01.intranet.prod.int.rdu2.redhat.com> Mikulas, On Tue, 10 Aug 2021, Mikulas Patocka wrote: > Reviewed-by: Mikulas Patocka <mpatocka@redhat.com> > thank you for the review. After looking at the submitted patch again, seems more proper to use >= as the condition: > > + if (unlikely(percpu_counter_read_positive(&cc->n_allocated_pages) > dm_crypt_pages_per_client) && ^^ >= Would it be okay if I resend the patch with this changed and add your Reviewed-by still? Would also fix some wording in the description and dedent the perf report output somewhat. Thanks, Arne -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel
next prev parent reply other threads:[~2021-08-13 6:41 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-08 13:42 Arne Welzel 2021-08-10 18:21 ` Mikulas Patocka 2021-08-12 19:47 ` Arne Welzel [this message] 2021-08-12 20:37 ` Mikulas Patocka
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=39101295-ed12-33c1-ce1-86a649f5582@corelight.com \ --to=arne.welzel@corelight.com \ --cc=agk@redhat.com \ --cc=dj@corelight.com \ --cc=dm-crypt@saout.de \ --cc=dm-devel@redhat.com \ --cc=mpatocka@redhat.com \ --cc=snitzer@redhat.com \ --subject='Re: [dm-devel] [PATCH] dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc()' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).