Re: [PATCH v5 08/27] cxl/mem: Read dynamic capacity configuration from the device

2024-11-04 Thread Davidlohr Bueso
On Tue, 29 Oct 2024, ira.we...@intel.com wrote: +/* See CXL 3.1 Table 8-164 get dynamic capacity config Output Payload */ +struct cxl_mbox_get_dc_config_out { + u8 avail_region_count; + u8 regions_returned; + u8 rsvd[6]; + /* See CXL 3.1 Table 8-165 */ + struct cxl_

Re: [PATCH v5 08/27] cxl/mem: Read dynamic capacity configuration from the device

2024-10-30 Thread Davidlohr Bueso
On Tue, 29 Oct 2024, ira.we...@intel.com wrote: +/* See CXL 3.1 Table 8-164 get dynamic capacity config Output Payload */ +struct cxl_mbox_get_dc_config_out { + u8 avail_region_count; + u8 regions_returned; + u8 rsvd[6]; + /* See CXL 3.1 Table 8-165 */ + struct cxl_

Re: [PATCH v5 05/27] cxl/hdm: Use guard() in cxl_dpa_set_mode()

2024-10-30 Thread Davidlohr Bueso
Reviewed-by: Davidlohr Bueso

Re: [PATCH v5 08/27] cxl/mem: Read dynamic capacity configuration from the device

2024-10-30 Thread Davidlohr Bueso
On Tue, 29 Oct 2024, ira.we...@intel.com wrote: Linux has no use for the trailing fields of the Get Dynamic Capacity Configuration Output Payload (Total number of supported extents, number of available extents, total number of supported tags, and number of available tags). Avoid defining those

Re: [PATCH RFC 00/15] Zero ****s, hugload of hugs <3

2018-11-30 Thread Davidlohr Bueso
On Fri, 30 Nov 2018, Kees Cook wrote: On Fri, Nov 30, 2018 at 11:27 AM Jarkko Sakkinen wrote: In order to comply with the CoC, replace with a hug. I hope this is some kind of joke. How would anyone get offended by reading technical comments? This is all beyond me... Thanks, Davidlohr

Re: [PATCH] rbtree.txt: fix typo in cached rbtree section

2017-12-02 Thread Davidlohr Bueso
I'm happy to ack your patch but you have to send it correctly. You are missing a changelog (although it ought to be small due to the trivial change) as well as you SoB tag. Please consult Documentation/process/submitting-patches.rst. You also need to Cc akpm as he routes such areas to Linus. Tha

Re: [PATCH resend] x86,kvm: Add a kernel parameter to disable PV spinlock

2017-09-04 Thread Davidlohr Bueso
On Mon, 04 Sep 2017, Peter Zijlstra wrote: For testing its trivial to hack your kernel and I don't feel this is something an Admin can make reasonable decisions about. So why? In general less knobs is better. +1. Also, note how b8fa70b51aa (xen, pvticketlocks: Add xen_nopvspin parameter to d

Re: [PATCH v2 -tip] locking/rtmutex: Reduce top-waiter blocking on a lock

2016-10-24 Thread Davidlohr Bueso
Any comments? can this make it for v4.10? Thanks, Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] locking/osq: Provide proper lock/unlock and relaxed flavors

2016-10-09 Thread Davidlohr Bueso
change for the later. Signed-off-by: Davidlohr Bueso --- XXX: This obviously needs a lot of testing. include/asm-generic/barrier.h | 9 ++ include/linux/osq_lock.h | 10 ++ kernel/locking/mutex.c| 6 +- kernel/locking/osq_lock.c | 279 +++---

Re: [RFC PATCH-tip v4 02/10] locking/rwsem: Stop active read lock ASAP

2016-10-06 Thread Davidlohr Bueso
On Fri, 07 Oct 2016, Dave Chinner wrote: Except that it's DAX Duh, of course; silly me. Thanks, Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info

Re: [RFC PATCH-tip v4 02/10] locking/rwsem: Stop active read lock ASAP

2016-10-06 Thread Davidlohr Bueso
On Thu, 18 Aug 2016, Waiman Long wrote: Currently, when down_read() fails, the active read locking isn't undone until the rwsem_down_read_failed() function grabs the wait_lock. If the wait_lock is contended, it may takes a while to get the lock. During that period, writer lock stealing will be d

Re: [RFC PATCH-tip v4 01/10] locking/osq: Make lock/unlock proper acquire/release barrier

2016-10-05 Thread Davidlohr Bueso
On Wed, 05 Oct 2016, Waiman Long wrote: diff --git a/kernel/locking/osq_lock.c b/kernel/locking/osq_lock.c index 05a3785..1e6823a 100644 --- a/kernel/locking/osq_lock.c +++ b/kernel/locking/osq_lock.c @@ -12,6 +12,23 @@ */ static DEFINE_PER_CPU_SHARED_ALIGNED(struct optimistic_spin_node, osq_n

Re: [RFC PATCH-tip v4 01/10] locking/osq: Make lock/unlock proper acquire/release barrier

2016-10-04 Thread Davidlohr Bueso
On Thu, 18 Aug 2016, Waiman Long wrote: The osq_lock() and osq_unlock() function may not provide the necessary acquire and release barrier in some cases. This patch makes sure that the proper barriers are provided when osq_lock() is successful or when osq_unlock() is called. But why do we need

[PATCH v2 -tip] locking/rtmutex: Reduce top-waiter blocking on a lock

2016-09-27 Thread Davidlohr Bueso
71.42 (-44.04%) Stddev 3031981.43 ( 0.00%)42306.07 ( 32.28%) Stddev 4821317.95 ( 0.00%)42608.50 ( 99.87%) Stddev 6423433.99 ( 0.00%)21502.56 ( -8.24%) Signed-off-by: Davidlohr Bueso --- Changes from v1: Stop spinning and block if we are no longer the top-waiter for the

[PATCH -tip] locking/rtmutex: Reduce top-waiter blocking on a lock

2016-09-23 Thread Davidlohr Bueso
0.00%)42306.07 ( 32.28%) Stddev 4821317.95 ( 0.00%)42608.50 ( 99.87%) Stddev 6423433.99 ( 0.00%)21502.56 ( -8.24%) Signed-off-by: Davidlohr Bueso --- Hi, so I've rebased the patch against -tip, and has survived about a full day of pistress pounding. That said, I

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Davidlohr Bueso
On Thu, 22 Sep 2016, Waiman Long wrote: BTW, my initial attempt for the new futex was to use the same workflow as the PI futexes, but use mutex which has optimistic spinning instead of rt_mutex. Btw, Thomas, do you still have any interest pursuing this for rtmutexes from -rt into mainline? If

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Davidlohr Bueso
On Thu, 22 Sep 2016, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Davidlohr Bueso wrote: On Thu, 22 Sep 2016, Thomas Gleixner wrote: > Also what's the reason that we can't do probabilistic spinning for > FUTEX_WAIT and have to add yet another specialized variant of futexes?

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Davidlohr Bueso
On Thu, 22 Sep 2016, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Peter Zijlstra wrote: On Wed, Sep 21, 2016 at 07:37:34PM -0400, Waiman Long wrote: > On 09/21/2016 02:59 AM, Mike Galbraith wrote: > >On Tue, 2016-09-20 at 09:42 -0400, Waiman Long wrote: > >>This patch introduces a new futex impl

Re: [RFC PATCH-tip v4 10/10] locking/rwsem: Add a boot parameter to reader spinning threshold

2016-08-23 Thread Davidlohr Bueso
On Thu, 18 Aug 2016, Waiman Long wrote: The default reader spining threshold is current set to 4096. However, the right reader spinning threshold may vary from one system to another and among the different architectures. This patch adds a new kernel boot parameter to modify the threshold value.

Re: [PATCH 0048/1529] Fix typo

2016-05-21 Thread Davidlohr Bueso
That's a lot of patches! ;) In-Reply-To: <20160521114317.1499-1-andrea.gelm...@gelma.net> On Sat, 21 May 2016, Andrea Gelmini wrote: Other than the patch itself looking borken, please improve the title and add some sort of changelog, although trivial. Thanks, Davidlohr -- To unsubscribe from t

[PATCH] Documentation,barriers: Mention smp_cond_acquire()

2016-03-21 Thread Davidlohr Bueso
... do this next to smp_load_acquire when first mentioning ACQUIRE. While this call is briefly explained and ctrl dependencies are mentioned later, it does not hurt the reader. Signed-off-by: Davidlohr Bueso --- Documentation/memory-barriers.txt | 5 +++-- 1 file changed, 3 insertions(+), 2