I hereby claim:
- I am pruzinat on github.
- I am pruzinat (https://keybase.io/pruzinat) on keybase.
- I have a public key ASBWglH3AT7etM_uJoX3lNhGMO6d9y7tiL2vnsufqT0XGQo
To claim this, I am signing this object:
#include <dlfcn.h> | |
#include <time.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "GL/glx.h" | |
// compile: "gcc frame_counter.c -ldl -D_GNU_SOURCE -shared -fPIC -o frame_counter.so" | |
// run: LD_PRELOAD=./frame_counter.so glxgears |
#include <stdint.h> | |
#include <stddef.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
// play with these | |
#define EXPECT_SIZE 4096 | |
//#define ALIGN | |
//#define FUNROLL |
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c | |
index 156ed8154af8..9df07402d801 100644 | |
--- a/arch/x86/mm/init.c | |
+++ b/arch/x86/mm/init.c | |
@@ -916,9 +916,11 @@ void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache) | |
unsigned long max_swapfile_size(void) | |
{ | |
- unsigned long pages; | |
+ unsigned long pages = 0UL; |
diff -ur NVIDIA-Linux-x86_64-396.54/kernel/nvidia-drm/nvidia-drm-connector.c NVIDIA-Linux-x86_64-396.54.patched/kernel/nvidia-drm/nvidia-drm-connector.c | |
--- NVIDIA-Linux-x86_64-396.54/kernel/nvidia-drm/nvidia-drm-connector.c 2018-08-15 09:44:34.000000000 +0200 | |
+++ NVIDIA-Linux-x86_64-396.54.patched/kernel/nvidia-drm/nvidia-drm-connector.c 2018-08-22 16:10:28.863761774 +0200 | |
@@ -226,7 +226,7 @@ | |
if (nv_connector->edid != NULL) { | |
- drm_mode_connector_update_edid_property( | |
+ drm_connector_update_edid_property( | |
connector, nv_connector->edid); |
# for stuff that lacks shebang, use simple file extension based file open with the right application | |
# somewhat similar to xdg open | |
function e() | |
{ | |
if [ -f $1 ]; then | |
case $1 in | |
*.exe) wine $@ ;; | |
*.jpg) gpicview $@ ;; | |
# ... | |
# *.sh) chmod +x $1 && ./$@ ;; #this is just lazy |
diff --git a/nvidia-uvm/uvm_linux.h b/nvidia-uvm/uvm_linux.h | |
index 8c42751..28fb0ef 100644 | |
--- a/nvidia-uvm/uvm_linux.h | |
+++ b/nvidia-uvm/uvm_linux.h | |
@@ -254,7 +254,8 @@ | |
#define nv_copy_from_user copy_from_user | |
#endif | |
-#if defined(NV_ATOMIC64_PRESENT) | |
+//#if defined(NV_ATOMIC64_PRESENT) |
#!/bin/bash | |
BENCH=glxspheres64 | |
SPIN_TIME=10 | |
OUT_CSV=$(mktemp) | |
export __GL_SYNC_TO_VBLANK=0 | |
${BENCH} &> /dev/null & | |
PID=$! | |
sleep $SPIN_TIME |
diff -ru vbox2/vboxdrv/include/iprt/time.h vbox/vboxdrv/include/iprt/time.h | |
--- vbox2/vboxdrv/include/iprt/time.h 2018-09-07 21:01:57.000000000 +0200 | |
+++ vbox/vboxdrv/include/iprt/time.h 2018-12-10 16:53:32.475735952 +0100 | |
@@ -392,7 +392,7 @@ | |
#endif /* various ways of detecting struct timeval */ | |
-/* PORTME: Add struct timespec guard macro here. */ | |
+/* PORTME: Add struct timespec64 guard macro here. */ | |
#if defined(RTTIME_INCL_TIMESPEC) || defined(_STRUCT_TIMESPEC) || defined(_SYS__TIMESPEC_H_) || defined(TIMEVAL_TO_TIMESPEC) || defined(_TIMESPEC) \ |
I hereby claim:
To claim this, I am signing this object: