Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp794552ybz; Fri, 1 May 2020 08:40:09 -0700 (PDT) X-Google-Smtp-Source: APiQypLFVBdNiR/32fCzHPs9J5ywujahyFaFugv53aZbmrS8R8PvDSEBt+q3efq5qaeiT60M5d4q X-Received: by 2002:a17:906:a441:: with SMTP id cb1mr3914794ejb.242.1588347609604; Fri, 01 May 2020 08:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588347609; cv=none; d=google.com; s=arc-20160816; b=pJJm0BY1/rGUuzuI4pdXPSrZwhvvJJ9l1UxnDbS7df7R5ostbkKGZB0qyDjLRWGyiZ cxNX4jrSwNx7z5IECscLuauw5oqDGWY+Yg+YEVBlFO8ltaymFoUCiKy5OmqscyyMQpwO lVkcmBrRgJekSLlqLs4TYhfCBpJh31ww6WY4xNe937zYP2hI/dkhKtJiIlNb9h9rDnob fdeOm20qfqjgtruKbb5uJKO9bVJ+vv1M+wQTTMl7oZDA8u2PFtzIvuO3L5UOlCBLW0Bn wWW79/o/xbuwIJ3lC0UBVjQ45R1hdxH2b/kyos1z/cdlAftEpC8bCV171nXkR3LN1tGj ugmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JnMPc9luvdLP2noZkbaboBA5nSJv6b56AQphZjG3YDM=; b=IxR9q/HM/E9UAkIYjN0WFrEBKSz1idX2TWSw/A/LddLrLNhudPzO9hWlI/OZZrYGZ4 4UuaBzTl6lJwdN7qYkkcQ9rMfBopw2ct00yXNXmhhKFgMHSAOzzzOEra++itHYU41dcs Ep7esDDEAzEh5YMjJxveLwIDQY+AnL6D0e73uYN9lGar9Lzl0Gi4XtzrYTPwwiRke4n1 k4aTjhWkSAZqr0FgrxwpNt2yj+53Dfhu4jNOva0L/x8bhUIVb8UNzLXjmnfFuA4PI5H+ RD6BmKIMPmqrRuLBZAF4dPQBAA18rVDDYjwPcDsjIkoHtH+GWAmoCUoH3mK6ax1a/zpp fxZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HwLryyDV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h20si2045223ejb.126.2020.05.01.08.39.46; Fri, 01 May 2020 08:40:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HwLryyDV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729973AbgEAPiM (ORCPT + 99 others); Fri, 1 May 2020 11:38:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:52480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729840AbgEAPiE (ORCPT ); Fri, 1 May 2020 11:38:04 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2503F24966; Fri, 1 May 2020 15:38:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588347483; bh=OkqVTyJHlSgHHi60ZQtwTsdw3lbAKzeOmZo1DT2RrRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HwLryyDV9dMteAeO3qxETGfzzk+h+M40YrRPckTxYJ9O2ZPflRAdACrHzRibfNTNg 4jr5QYU5uZof7TlGLC0/3YTgPPXmiWOMQaRFoTPskzRu0mciUxX6rupsO3IY4GPmiN 1zbsLnPbAmh4k/9/TfnG/UyfIzsvv+fUisqs9+iE= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jUXjl-00FE54-72; Fri, 01 May 2020 17:38:01 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Will Deacon , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , "David S. Miller" , Greg Kroah-Hartman , linux-remoteproc@vger.kernel.org Subject: [PATCH 10/14] docs: move locking-specific documenta to locking/ directory Date: Fri, 1 May 2020 17:37:54 +0200 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Several files under Documentation/*.txt describe some type of locking API. Move them to locking/ subdir and add to the locking/index.rst index file. Signed-off-by: Mauro Carvalho Chehab --- .../{futex-requeue-pi.txt => locking/futex-requeue-pi.rst} | 0 Documentation/{hwspinlock.txt => locking/hwspinlock.rst} | 0 Documentation/locking/index.rst | 7 +++++++ .../percpu-rw-semaphore.rst} | 0 Documentation/{pi-futex.txt => locking/pi-futex.rst} | 0 .../{preempt-locking.txt => locking/preempt-locking.rst} | 0 .../{robust-futex-ABI.txt => locking/robust-futex-ABI.rst} | 0 .../{robust-futexes.txt => locking/robust-futexes.rst} | 0 Documentation/locking/rt-mutex.rst | 2 +- MAINTAINERS | 6 +++--- 10 files changed, 11 insertions(+), 4 deletions(-) rename Documentation/{futex-requeue-pi.txt => locking/futex-requeue-pi.rst} (100%) rename Documentation/{hwspinlock.txt => locking/hwspinlock.rst} (100%) rename Documentation/{percpu-rw-semaphore.txt => locking/percpu-rw-semaphore.rst} (100%) rename Documentation/{pi-futex.txt => locking/pi-futex.rst} (100%) rename Documentation/{preempt-locking.txt => locking/preempt-locking.rst} (100%) rename Documentation/{robust-futex-ABI.txt => locking/robust-futex-ABI.rst} (100%) rename Documentation/{robust-futexes.txt => locking/robust-futexes.rst} (100%) diff --git a/Documentation/futex-requeue-pi.txt b/Documentation/locking/futex-requeue-pi.rst similarity index 100% rename from Documentation/futex-requeue-pi.txt rename to Documentation/locking/futex-requeue-pi.rst diff --git a/Documentation/hwspinlock.txt b/Documentation/locking/hwspinlock.rst similarity index 100% rename from Documentation/hwspinlock.txt rename to Documentation/locking/hwspinlock.rst diff --git a/Documentation/locking/index.rst b/Documentation/locking/index.rst index 5d6800a723dc..d785878cad65 100644 --- a/Documentation/locking/index.rst +++ b/Documentation/locking/index.rst @@ -16,6 +16,13 @@ locking rt-mutex spinlocks ww-mutex-design + preempt-locking + pi-futex + futex-requeue-pi + hwspinlock + percpu-rw-semaphore + robust-futexes + robust-futex-ABI .. only:: subproject and html diff --git a/Documentation/percpu-rw-semaphore.txt b/Documentation/locking/percpu-rw-semaphore.rst similarity index 100% rename from Documentation/percpu-rw-semaphore.txt rename to Documentation/locking/percpu-rw-semaphore.rst diff --git a/Documentation/pi-futex.txt b/Documentation/locking/pi-futex.rst similarity index 100% rename from Documentation/pi-futex.txt rename to Documentation/locking/pi-futex.rst diff --git a/Documentation/preempt-locking.txt b/Documentation/locking/preempt-locking.rst similarity index 100% rename from Documentation/preempt-locking.txt rename to Documentation/locking/preempt-locking.rst diff --git a/Documentation/robust-futex-ABI.txt b/Documentation/locking/robust-futex-ABI.rst similarity index 100% rename from Documentation/robust-futex-ABI.txt rename to Documentation/locking/robust-futex-ABI.rst diff --git a/Documentation/robust-futexes.txt b/Documentation/locking/robust-futexes.rst similarity index 100% rename from Documentation/robust-futexes.txt rename to Documentation/locking/robust-futexes.rst diff --git a/Documentation/locking/rt-mutex.rst b/Documentation/locking/rt-mutex.rst index c365dc302081..3b5097a380e6 100644 --- a/Documentation/locking/rt-mutex.rst +++ b/Documentation/locking/rt-mutex.rst @@ -4,7 +4,7 @@ RT-mutex subsystem with PI support RT-mutexes with priority inheritance are used to support PI-futexes, which enable pthread_mutex_t priority inheritance attributes -(PTHREAD_PRIO_INHERIT). [See Documentation/pi-futex.txt for more details +(PTHREAD_PRIO_INHERIT). [See Documentation/locking/pi-futex.rst for more details about PI-futexes.] This technology was developed in the -rt tree and streamlined for diff --git a/MAINTAINERS b/MAINTAINERS index 6eb3d85a646f..1aa6e89e7424 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7042,13 +7042,13 @@ R: Darren Hart L: linux-kernel@vger.kernel.org S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core -F: Documentation/*futex* +F: Documentation/locking/*futex* F: include/asm-generic/futex.h F: include/linux/futex.h F: include/uapi/linux/futex.h F: kernel/futex.c F: tools/perf/bench/futex* -F: tools/testing/selftests/futex/ +F: Documentation/locking/*futex* GASKET DRIVER FRAMEWORK M: Rob Springer @@ -7519,7 +7519,7 @@ L: linux-remoteproc@vger.kernel.org S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git hwspinlock-next F: Documentation/devicetree/bindings/hwlock/ -F: Documentation/hwspinlock.txt +F: Documentation/locking/hwspinlock.rst F: drivers/hwspinlock/ F: include/linux/hwspinlock.h -- 2.25.4