+ ipc-standardize-code-comments.patch added to -mm tree
Subject: + ipc-standardize-code-comments.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 10 Jan 2014 15:19:29 -0800
The patch titled
Subject: ipc: standardize code comments
has been added to the -mm tree. Its filename is
ipc-standardize-code-comments.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/ipc-standardize-code-comments.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/ipc-standardize-code-comments.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Davidlohr Bueso <[email protected]>
Subject: ipc: standardize code comments
IPC commenting style is all over the place, *specially* in util.c. This patch orders things a bit.
---
ipc/sem.c | 24 ++--- ipc/shm.c | 1 ipc/util.c | 239 ++++++++++++++++++++++++--------------------------- 3 files changed, 125 insertions(+), 139 deletions(-)
ipc/sem.c renamed from ipc/sem.c~ipc-standardize-code-comments +11 -13
@@ -225,7 +225,7 @@ static void unmerge_queues(struct sem_ar }/** -* merge_queues - Merge single semop queues into global queue +* merge_queues - merge single semop queues into global queue * @sma: semaphore array * * This function merges all per-semaphore queues into the global queue.
@@ -474,7 +474,6 @@ static inline void sem_rmid(struct ipc_n* * Called with sem_ids.rwsem held (as a writer) */ -static int newary (struct ipc_namespace *ns,struct ipc_params *params) {int id;
@@ -682,7 +681,7 @@ static void wake_up_sem_queue_prepare(st }/** -* wake_up_sem_queue_do(pt) - do the actual wake-up +* wake_up_sem_queue_do - do the actual wake-up * @pt: list of tasks to be woken up * * Do the actual wake-up.
@@ -748,7 +747,7 @@ static int check_restart(struct sem_arra }/** -* wake_const_ops(sma, semnum, pt) - Wake up non-alter tasks +* wake_const_ops - wake up non-alter tasks * @sma: semaphore array. * @semnum: semaphore that was modified. * @pt: list head for the tasks that must be woken up.
@@ -798,15 +797,14 @@ static int wake_const_ops(struct sem_arr }/** -* do_smart_wakeup_zero(sma, sops, nsops, pt) - wakeup all wait for zero tasks +* do_smart_wakeup_zero - wakeup all wait for zero tasks * @sma: semaphore array * @sops: operations that were performed * @nsops: number of operations * @pt: list head of the tasks that must be woken up. * -* do_smart_wakeup_zero() checks all required queue for wait-for-zero -* operations, based on the actual changes that were performed on the -* semaphore array. +* Checks all required queue for wait-for-zero operations, based +* on the actual changes that were performed on the semaphore array. * The function returns 1 if at least one operation was completed successfully. */ static int do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops,
@@ -850,7 +848,7 @@ static int do_smart_wakeup_zero(struct s/** -* update_queue(sma, semnum): Look for tasks that can be completed. +* update_queue - look for tasks that can be completed. * @sma: semaphore array. * @semnum: semaphore that was modified. * @pt: list head for the tasks that must be woken up.
@@ -920,7 +918,7 @@ again: }/** -* set_semotime(sma, sops) - set sem_otime +* set_semotime - set sem_otime * @sma: semaphore array * @sops: operations that modified the array, may be NULL *
@@ -938,7 +936,7 @@ static void set_semotime(struct sem_arra }/** -* do_smart_update(sma, sops, nsops, otime, pt) - optimized update_queue +* do_smart_update - optimized update_queue * @sma: semaphore array * @sops: operations that were performed * @nsops: number of operations
@@ -1647,7 +1645,7 @@ static struct sem_undo *lookup_undo(stru }/** -* find_alloc_undo - Lookup (and if not present create) undo array +* find_alloc_undo - lookup (and if not present create) undo array * @ns: namespace * @semid: semaphore array id *
@@ -1737,7 +1735,7 @@ out:/** -* get_queue_result - Retrieve the result code from sem_queue +* get_queue_result - retrieve the result code from sem_queue * @q: Pointer to queue structure * * Retrieve the return code from the pending queue. If IN_WAKEUP is found in
ipc/shm.c renamed from ipc/shm.c~ipc-standardize-code-comments +0 -1
@@ -477,7 +477,6 @@ static const struct vm_operations_struct* * Called with shm_ids.rwsem held as a writer. */ -static int newseg (struct ipc_namespace *ns,struct ipc_params *params) {key_t key = params->key;
ipc/util.c renamed from ipc/util.c~ipc-standardize-code-comments +114 -125
394 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
x86-mm-account-for-tlb-flushes-only-when-debugging.patch x86-mm-clean-up-inconsistencies-when-flushing-tlb-ranges.patch x86-mm-eliminate-redundant-page-table-walk-during-tlb-range-flushing.patch x86-mm-change-tlb_flushall_shift-for-ivybridge.patch mm-x86-revisit-tlb_flushall_shift-tuning-for-page-flushes-except-on-ivybridge.patch mm-mmapc-add-mlock_future_check-helper.patch mm-mlock-prepare-params-outside-critical-region.patch partitions-efi-complete-documentation-of-gpt-kernel-param-purpose.patch ipc-semc-avoid-overflow-of-semop-undo-semadj-value.patch ipc-semc-avoid-overflow-of-semop-undo-semadj-value-fix.patch ipc-semc-avoid-overflow-of-semop-undo-semadj-value-fix-2.patch ipc-introduce-ipc_valid_object-helper-to-sort-out-ipc_rmid-races.patch ipc-change-kern_ipc_permdeleted-type-to-bool.patch ipc-whitespace-cleanup.patch
ipc-standardize-code-comments.patch ipc-remove-braces-for-single-statements.patch ipc-remove-useless-return-statement.patch ipc-simplify-sysvipc_proc_open-return.patch ipc-delete-seq_max-field-in-struct-ipc_ids.patch ipc-share-ids-rwsem-when-possible-in-ipcget_public.patch ipcmsg-document-barriers.patch