Displaying 20 results from an estimated 3000 matches similar to: "[PATCH] cpu.c: initialize a variable"
2013 Jan 07
9
[PATCH v2 0/3] nested vmx bug fixes
Changes from v1 to v2:
- Use a macro to replace the hardcode in patch 1/3.
This patchset fixes issues about IA32_VMX_MISC MSR emulation, VMCS guest area
synchronization about PAGE_FAULT_ERROR_CODE_MASK/PAGE_FAULT_ERROR_CODE_MATCH,
and CR0/CR4 emulation.
Please help to review and pull.
Thanks,
Dongxiao
Dongxiao Xu (3):
nested vmx: emulate IA32_VMX_MISC MSR
nested vmx: synchronize page
2008 Nov 11
3
FXTextField and number of digits after decimal point
Hello,
Here''s the context:
I read a number either pure integer or float with eventually up to 12
digits after the decimal point from a YAML file.
The number is injected into a FXTextField with the following code:
@value_sel = FXDataTarget.new(@value.to_s)
@value_value = FXTextField.new(@matrix_mem_value, 20, at value_sel,
:opts =>TEXTFIELD_NORMAL|JUSTIFY_RIGHT,
2016 Apr 16
2
[TSAN] LLVM statistics and pass initialization trigger race detection
Hello,
I trying TSAN on Darwin on LLVM itself (sanitizing multi-threaded ThinLTO link).
However I see two main issues on my debug build:
1) Statistics: the pre/post increment is not safe, it seems to be acknowledge in the code itself:
// FIXME: This function and all those that follow carefully use an
// atomic operation to update the value safely in the presence of
// concurrent
2012 Jul 11
3
installing centos 6 on an old bird
Guys,
I've been trying to install centos 6.2, then 6.3 onto a supermicro 6013P-8
which does not have a DVD rom drive. Those newer version of CentOS only
have DVD (not CD) iso versions so I've been sharing the install via NFS.
With each try the install hangs forever installing
'selinux-policy-targeted-3.7.19-154.el6.noarch'. How can I disable that
feature and / or SE Linux
2013 Jun 04
12
[PATCH 0/4] XSA-52..54 follow-up
The first patch really isn''t as much of a follow-up than what triggered
the security issues to be noticed in the first place.
1: x86: preserve FPU selectors for 32-bit guest code
2: x86: fix XCR0 handling
3: x86/xsave: adjust state management
4: x86/fxsave: bring in line with recent xsave adjustments
The first two I would see as candidates for 4.3 (as well as
subsequent backporting,
2012 Jun 14
1
High CPU usage
Hi Mark,
Code below:
int16_t* samples;
int16_t* fbSilenceFrame;
void *fSpeexState;
float eng(0.f);
int speexFrameSize(0);
speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize);
for (int i = 0; i < speexFrameSize; i++)
{
eng += samples[i] * samples[i];
}
if (eng / speexFrameSize < 3.f)
{
memcpy(samples, silenceFrame, speexFrameSize * sizeof(int16_t));
}
where
2008 Feb 29
10
[PATCH] [RFC] More fp instructions for realmode emulation (Enables booting OS/2 as a HVM guest on Intel/VT hardware)
This patch adds a number of fp instructions needed for OS/2 to boot as a HVM
guest on Intel/VT hardware. It appears to work fine, and OS/2 is now finally
working on Intel/VT as well as AMD/SVM.
I''m a little concerned about the "correctness" of the FSTSW emulation and
the use of inline assembly directly using the corresponding ops for
emulation. Wrt FSTSW, it is really two ops
2007 Mar 20
0
[LLVMdev] llvm-gcc4_2, llvm-gcc4_2-fixed-point
hi!
because i read that other people may be interested
in llvm-gcc4_2 in the google-soc thread, here is the
status of my work:
i merged llvm-gcc and the current gcc4_2.
this is the patch from official gcc4_2 to my llvm-gcc4_2:
http://geldspeicher.entenhausen.at/dl/gcc-4_2_to_llvm.patch.gz
comments:
+ i left out most APPLE LOCAL* marked regions of llvm-gcc4 which
were not concerning llvm
2014 Jul 27
1
[PATCH] simplify OS SSE support detection
This patch tries to simplify the code that tries to detect
whether OS supports SSE instructions.
a) Linux: "old" vs "new" sigaction
OBSOLETE_SIGCONTEXT_FLAVOR was disabled in Mar 2007 in commit
<http://git.xiph.org/?p=flac.git;a=commit;h=1ca3a445f832be5e8a99364fb38d9e2ea9a3a772>
According to <http://unixhelp.ed.ac.uk/CGI/man-cgi?sigaction>:
"Support for
2005 Apr 11
2
[LLVMdev] JIT and array pointers
On Sun, 2005-04-10 at 19:47 -0500, Chris Lattner wrote:
> On Mon, 11 Apr 2005, Paul wrote:
> > I'm trying to pass an array pointer to my run-time generated module, and
> > after a long time of searching for the answer, the only thing I got was
> > a headache. Basically I have a few arrays (few megabytes which will
> > sometimes be accessed as 8 / 16 / 32 / 64 bit
2005 Apr 11
0
[LLVMdev] JIT and array pointers
On Mon, 11 Apr 2005, dummy1 at boxpl.com wrote:
>> There are many possible ways to do this, can you be a bit more specific
>> about what you're trying to do?
> Here is a basic example:
Ah, ok, I see what you're trying to do. Below is some *pseudo* code for
the basic idea:
> ============================================
> unsigned int buff[4096];
>
> int main
2018 Feb 24
2
Really slow IMAP performance
Please could you help me to understand and fix why my dovecot IMAP
performance is so bad? I've read through a lot of the
performance-related material on the website, but I don't think that any
of it could account for slowness at the level that I am seeing.
The simplest scenario is moving a message from my Inbox to another IMAP
folder. Using Gnus as the client, the whole UI freezes for
2002 Jan 13
1
rsynd-2.5.1 / batch.c patch
Platform: Compaq OpenVMS Alpha 7.3
Compiler: Compaq C T6.5
The following patch is an update to a previous patch that I submitted.
The only change from the previous patch is that the const qualifier has
been added to write_batch_*() routines to improve compiler efficiency.
Because the gdiff -u was done against the distribution it includes the
previous patch.
The functions with no parameters
2007 Dec 17
5
[PATCH 0/21] Integrate processor.h
Hi,
This series integrate the processor.h header. There are a lot of things
that are deeply architectural differences between architectures, but
I've done my best to come to a settlement.
With this series, I am very close to have selectable paravirt for x86_64,
It applies ontop of today's x86 git, mm branch.
2007 Dec 17
5
[PATCH 0/21] Integrate processor.h
Hi,
This series integrate the processor.h header. There are a lot of things
that are deeply architectural differences between architectures, but
I've done my best to come to a settlement.
With this series, I am very close to have selectable paravirt for x86_64,
It applies ontop of today's x86 git, mm branch.
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
2012 Nov 12
3
nomenclature for conf files
It might sound stupid, but I'd like to know if there's
any difference. Are those 3 line the same?
WITH_KMS=YES
WITH_KMS="YES"
WITH_KMS=yes
Best regards
Zoran
2006 Jan 10
2
Problem with Action:Originate with ASterisk Manager
Hi Asterisk-users,
I am working with Aterisk Manager API's.
I can login successfuly with the following.
char buff[256];
strcpy(buff, "Action: Login\r\nUsername: admin\r\nSecret: unix\r\n\r\n");
send(msock, buff, 255);
Now I want to try Action: Originate, therefore I tried the following
char buff1[256];
strcpy(buff1, "Action: Originate\r\nChannel:
2005 Apr 11
0
[LLVMdev] JIT and array pointers
On Mon, 11 Apr 2005, Paul wrote:
> I'm trying to pass an array pointer to my run-time generated module, and
> after a long time of searching for the answer, the only thing I got was
> a headache. Basically I have a few arrays (few megabytes which will
> sometimes be accessed as 8 / 16 / 32 / 64 bit binary / fp values), that
> will be modified by both the generated module, and my