All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] CodeSamples: Cleanups and fixes
@ 2017-05-29 22:13 Akira Yokosawa
  2017-05-29 22:14 ` [RFC PATCH 1/4] CodeSamples: Add rule to generate Makefile.arch and api.h Akira Yokosawa
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Akira Yokosawa @ 2017-05-29 22:13 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

From fd5fb9afb6b99b15370a9823b42fa2a92342b92a Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Tue, 30 May 2017 06:52:40 +0900
Subject: [RFC PATCH 0/4] CodeSamples: Cleanups and fixes

Hi Paul,

While I was looking around CodeSamples, I encountered several
warnings in build and an infinite loop in one of sample codes.
Also, I found that CodeSamples/api.h and CodeSamples/Makefile.arch
can be removed from repository if their recipe are properly
written in Makefiles.

Patch 1 adds rules to generate Makefile.arch and api.h that
suit the architecture of you host. As I don't have ppc64 or
arm host environment, I tested it only on x86_32 and x86_64.
I'd like to know if it works on ppc64 and arm.

Patch 2 removes the redundant files.

Patch 3 and 4 are fixes of warnings and infinite loops.

Thoughts?

                 Thanks, Akira
-- 
Akira Yokosawa (4):
  CodeSamples: Add rule to generate Makefile.arch and api.h
  CodeSamples: Remove generated files from repository
  CodeSamples: Use 'intptr_t' to be compatible with 'void *'
  CodeSamples/defer: Add compiler barriers in gettimestampmp.c

 CodeSamples/.gitignore                         |   4 +-
 CodeSamples/Makefile                           |  18 +
 CodeSamples/Makefile.arch                      |   6 -
 CodeSamples/SMPdesign/Makefile                 |   3 +
 CodeSamples/SMPdesign/matmul.c                 |  13 +-
 CodeSamples/SMPdesign/smpalloc.c               |  11 +-
 CodeSamples/advsync/Makefile                   |   3 +
 CodeSamples/api.h                              | 808 -------------------------
 CodeSamples/count/Makefile                     |   3 +
 CodeSamples/datastruct/Issaquah/Makefile       |   3 +
 CodeSamples/datastruct/Issaquah/existence_test | Bin 26359 -> 0 bytes
 CodeSamples/datastruct/hash/Makefile           |   3 +
 CodeSamples/datastruct/log/Makefile            |   3 +
 CodeSamples/datastruct/skiplist/Makefile       |   3 +
 CodeSamples/defer/Makefile                     |   3 +
 CodeSamples/defer/gettimestampmp.c             |   5 +-
 CodeSamples/depends.mk                         |  43 ++
 CodeSamples/intro/Makefile                     |   3 +
 CodeSamples/intro/threadcreate.c               |   7 +-
 CodeSamples/locking/Makefile                   |   3 +
 CodeSamples/toolsoftrade/Makefile              |   3 +
 21 files changed, 117 insertions(+), 831 deletions(-)
 delete mode 100644 CodeSamples/Makefile.arch
 delete mode 100644 CodeSamples/api.h
 delete mode 100755 CodeSamples/datastruct/Issaquah/existence_test
 create mode 100644 CodeSamples/depends.mk

-- 
2.7.4


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

end of thread, other threads:[~2017-06-01  4:34 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-29 22:13 [RFC PATCH 0/4] CodeSamples: Cleanups and fixes Akira Yokosawa
2017-05-29 22:14 ` [RFC PATCH 1/4] CodeSamples: Add rule to generate Makefile.arch and api.h Akira Yokosawa
2017-05-29 22:16 ` [RFC PATCH 2/4] CodeSamples: Remove generated files from repository Akira Yokosawa
2017-05-29 22:17 ` [RFC PATCH 3/4] CodeSamples: Use 'intptr_t' to be compatible with 'void *' Akira Yokosawa
2017-05-30  0:10   ` Paul E. McKenney
2017-05-29 22:18 ` [RFC PATCH 4/4] CodeSamples/defer: Add compiler barriers in gettimestampmp.c Akira Yokosawa
2017-05-30  0:12   ` Paul E. McKenney
2017-05-30  0:02 ` [RFC PATCH 0/4] CodeSamples: Cleanups and fixes Paul E. McKenney
2017-05-30  1:44   ` Akira Yokosawa
2017-05-30 12:05 ` [RFC PATCH v2 0/2] " Akira Yokosawa
2017-05-30 12:06   ` [RFC PATCH v2 1/2] CodeSamples: Use 'intptr_t' to be compatible with 'void *' Akira Yokosawa
2017-05-30 12:07   ` [RFC PATCH v2 2/2] CodeSamples/defer: Add compiler barriers in gettimestampmp.c Akira Yokosawa
2017-05-31 18:46   ` [RFC PATCH v2 0/2] CodeSamples: Cleanups and fixes Paul E. McKenney
2017-05-31 21:19     ` Akira Yokosawa
2017-06-01  0:05       ` Paul E. McKenney
2017-06-01  1:45     ` Junchang Wang
2017-06-01  4:19       ` Paul E. McKenney
2017-06-01  4:34         ` Junchang Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.