* [PATCH v2 0/1]
@ 2017-07-06 10:48 Claudio Imbrenda
0 siblings, 0 replies; 6+ messages in thread
From: Claudio Imbrenda @ 2017-07-06 10:48 UTC (permalink / raw)
To: kvm; +Cc: borntraeger, pbonzini, linux-kernel
This patch adds a few lines to the KVM common code to fire a
KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event
carries four environment variables:
KVM_VM_CREATED indicates how many times a new VM has been created. It
is useful for example to trigger specific actions when
the first VM is started
KVM_VM_COUNT indicates how many VMs are currently active. This can be
used for logging or monitoring purposes
KVM_VM_PID has the pid of the KVM process that has been started or
stopped. This can be used to perform process-specific
tuning.
KVM_VM_STATS_PATH contains the path in /sys to the directory with all
the runtime statistics for this VM. This is useful
for performance monitoring and profiling.
Specific udev rules can be then set up in userspace to deal with the
creation or destruction of VMs as needed.
v1 -> v2:
* added KVM_VM_PID and KVM_VM_STATS_PATH
* some cleanup, the patch should look nicer now
* rebased on 4.12
Claudio Imbrenda (1):
KVM: trigger uevents when starting or stopping a VM
virt/kvm/kvm_main.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 0/1]
@ 2017-11-16 0:20 Amanda Brindle
0 siblings, 0 replies; 6+ messages in thread
From: Amanda Brindle @ 2017-11-16 0:20 UTC (permalink / raw)
To: openembedded-core; +Cc: paul.eggleton
For v2, I removed some dead code (recipe_bbvars(), collect_bbvars(), and
code that handled the -m option).
I also added the parameter variants=False to all_recipe_files() so that
the script would not scan through variant recipe files.
I also updated the commit message to describe why the changes were made.
The following changes since commit 65d23bd7986615fdfb0f1717b615534a2a14ab80:
README.qemu: qemuppc64 is not supported (2017-10-16 23:54:31 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib abrindle/bbvars_tinfoil
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=abrindle/bbvars_tinfoil
Amanda Brindle (1):
scripts/contrib/bbvars.py: Rewrite to use tinfoil
scripts/contrib/bbvars.py | 140 ++++++++++++++++++++++------------------------
1 file changed, 67 insertions(+), 73 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 0/1]
@ 2017-11-21 0:40 Amanda Brindle
2017-11-21 0:40 ` [PATCH v2 1/1] scripts/contrib/bbvars.py: Remove dead code Amanda Brindle
0 siblings, 1 reply; 6+ messages in thread
From: Amanda Brindle @ 2017-11-21 0:40 UTC (permalink / raw)
To: openembedded-core; +Cc: paul.eggleton
Added a signed-off-by for v2.
The following changes since commit 4ed19ac8c19afd56d445d84e02b622cb056b8359:
poky: Switch to post release name/version (2017-11-14 17:26:58 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib abrindle/bbvars_tinfoil2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=abrindle/bbvars_tinfoil2
Amanda Brindle (1):
scripts/contrib/bbvars.py: Remove dead code
scripts/contrib/bbvars.py | 52 ++---------------------------------------------
1 file changed, 2 insertions(+), 50 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 1/1] scripts/contrib/bbvars.py: Remove dead code
2017-11-21 0:40 [PATCH v2 0/1] Amanda Brindle
@ 2017-11-21 0:40 ` Amanda Brindle
0 siblings, 0 replies; 6+ messages in thread
From: Amanda Brindle @ 2017-11-21 0:40 UTC (permalink / raw)
To: openembedded-core; +Cc: paul.eggleton
Removed the -m option since this script now searches through all
recipes in the configuration. Also removed dead code, which includes
the functions recipe_bbvars() and collect_bbvars().
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
---
scripts/contrib/bbvars.py | 52 ++---------------------------------------------
1 file changed, 2 insertions(+), 50 deletions(-)
diff --git a/scripts/contrib/bbvars.py b/scripts/contrib/bbvars.py
index 556f652..286b5a9 100755
--- a/scripts/contrib/bbvars.py
+++ b/scripts/contrib/bbvars.py
@@ -32,48 +32,12 @@ scriptpath.add_bitbake_lib_path()
import bb.tinfoil
def usage():
- print('Usage: %s -d FILENAME [-d FILENAME]* -m METADIR [-m MATADIR]*' % os.path.basename(sys.argv[0]))
+ print('Usage: %s -d FILENAME [-d FILENAME]*' % os.path.basename(sys.argv[0]))
print(' -d FILENAME documentation file to search')
print(' -h, --help display this help and exit')
- print(' -m METADIR meta directory to search for recipes')
print(' -t FILENAME documentation config file (for doc tags)')
print(' -T Only display variables with doc tags (requires -t)')
-def recipe_bbvars(recipe):
- ''' Return a unique set of every bbvar encountered in the recipe '''
- prog = re.compile("[A-Z_]+")
- vset = set()
- try:
- r = open(recipe)
- except IOError as err:
- print('WARNING: Failed to open recipe ', recipe)
- print(err.args[1])
-
- for line in r:
- # Strip any comments from the line
- line = line.rsplit('#')[0]
- vset = vset.union(set(prog.findall(line)))
- r.close()
-
- bbvars = {}
- for v in vset:
- bbvars[v] = 1
-
- return bbvars
-
-def collect_bbvars(metadir):
- ''' Walk the metadir and collect the bbvars from each recipe found '''
- bbvars = {}
- for root,dirs,files in os.walk(metadir):
- for name in files:
- if name.find(".bb") >= 0:
- for key in recipe_bbvars(os.path.join(root,name)).keys():
- if key in bbvars:
- bbvars[key] = bbvars[key] + 1
- else:
- bbvars[key] = 1
- return bbvars
-
def bbvar_is_documented(var, documented_vars):
''' Check if variable (var) is in the list of documented variables(documented_vars) '''
if var in documented_vars:
@@ -112,7 +76,6 @@ def bbvar_doctag(var, docconf):
def main():
docfiles = []
- metadirs = []
bbvars = set()
undocumented = []
docconf = ""
@@ -136,12 +99,6 @@ def main():
else:
print('ERROR: documentation file %s is not a regular file' % a)
sys.exit(3)
- elif o == '-m':
- if os.path.isdir(a):
- metadirs.append(a)
- else:
- print('ERROR: meta directory %s is not a directory' % a)
- sys.exit(4)
elif o == "-t":
if os.path.isfile(a):
docconf = a
@@ -155,11 +112,6 @@ def main():
usage()
sys.exit(5)
- if len(metadirs) == 0:
- print('ERROR: no metadir specified')
- usage()
- sys.exit(6)
-
if onlydoctags and docconf == "":
print('ERROR: no docconf specified')
usage()
@@ -196,7 +148,7 @@ def main():
bbvars_update(data)
# Collect variables from all recipes
- for recipe in tinfoil.all_recipe_files():
+ for recipe in tinfoil.all_recipe_files(variants=False):
print("Checking %s" % recipe)
for data in tinfoil.parse_recipe_file(recipe):
bbvars_update(data)
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 0/1]
@ 2021-08-04 7:35 Philippe Gerum
0 siblings, 0 replies; 6+ messages in thread
From: Philippe Gerum @ 2021-08-04 7:35 UTC (permalink / raw)
To: xenomai
From: Philippe Gerum <rpm@xenomai.org>
Use SPDX identifiers to refer to licenses and reformat.
Philippe Gerum (1):
license: summarize the licensing terms
COPYING | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 COPYING
--
2.31.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 0/1]
@ 2022-04-14 18:10 Michael Cheng
0 siblings, 0 replies; 6+ messages in thread
From: Michael Cheng @ 2022-04-14 18:10 UTC (permalink / raw)
To: intel-gfx
Cc: thomas.hellstrom, michael.cheng, wayne.boyer, casey.g.bowman,
lucas.demarchi, dri-devel
To align with the discussion in [1][2], this patch series drops all usage of
wbvind_on_all_cpus within i915 by either replacing the call with certain
drm clflush helpers, or reverting to a previous logic.
[1]. https://lists.freedesktop.org/archives/dri-devel/2021-November/330928.html
[2]. https://patchwork.freedesktop.org/patch/475752/?series=99991&rev=5
v2 (Michael Cheng) : Per feedback from Thomas and Tvrtko, this series should be
split into two parts; First part is to unblock i915 from build errors and
second part will focus on implementing range flushes on the propose reverts.
Michael Cheng (1):
i915/gem: drop wbinvd_on_all_cpus usage
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-14 18:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 0:40 [PATCH v2 0/1] Amanda Brindle
2017-11-21 0:40 ` [PATCH v2 1/1] scripts/contrib/bbvars.py: Remove dead code Amanda Brindle
-- strict thread matches above, loose matches on Subject: below --
2022-04-14 18:10 [PATCH v2 0/1] Michael Cheng
2021-08-04 7:35 Philippe Gerum
2017-11-16 0:20 Amanda Brindle
2017-07-06 10:48 Claudio Imbrenda
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.