How much kernel stack can be used in non-terminal function inside module ?

2018-08-16 Thread Lev Olshvang
Having the kernel stack is limited to 4K, how can I know how many of this 4K was used before mu function X() is called ? I need to extract 512 bytes of some data from storage using vfs_getxattr(). I can call for kmalloc or just use buffer on stack. But how can assess whether I can safely do

Re: SOLVED!!!! (was Re: Hebrew file names in Libreoffice)

2018-08-16 Thread Shlomo Solomon
On Thu, 16 Aug 2018 14:23:47 +0300 Omer Zak wrote: > Did you run 'diff' on the two plasma-locale* files from before and > after deletion & regeneration? > If yes, can you please share the results with the curious among us? The original files (which I deleted): ~/.config/plasma-localerc

en_IL.UTF-8 (was Re: Hebrew file names in Libreoffice)

2018-08-16 Thread Shlomo Solomon
Why do you say that en_IL.UTF-8 does not exist? solomon@shlomo1:~$ localectl list-locales|grep en_IL en_IL en_IL.utf8 And in any case, you should be able to correct any problem with: localectl set-locale LANG=en_US.utf8 Probably not essential, but I personally also added the following lines

Re: SOLVED!!!! (was Re: Hebrew file names in Libreoffice)

2018-08-16 Thread Omer Zak
Did you run 'diff' on the two plasma-locale* files from before and after deletion & regeneration? If yes, can you please share the results with the curious among us? On Thu, 2018-08-16 at 13:14 +0300, Shlomo Solomon wrote: > After searching for any file that seems related to locale, I deleted >

Re: Hebrew file names in Libreoffice

2018-08-16 Thread Shachar Shemesh
On 16/08/2018 12:30, Shlomo Solomon wrote: > After more research, I'm pretty sure this is a KDE-Libreoffice > interaction problem, but don't know how to solve it. Here's a summary of > what I know and tried - #6 is really interesting/strange. > > 1 - click on a Hebrew file name - libreoffice

SOLVED!!!! (was Re: Hebrew file names in Libreoffice)

2018-08-16 Thread Shlomo Solomon
After searching for any file that seems related to locale, I deleted the following files (after saving a backup - just in case): ~/.config/plasma-locale-settings.sh ~/.config/plasma-localerc They were re-generated on login. So it certainly WAS a KDE problem, but I have no idea why this solved

Re: Hebrew file names in Libreoffice

2018-08-16 Thread Shlomo Solomon
After more research, I'm pretty sure this is a KDE-Libreoffice interaction problem, but don't know how to solve it. Here's a summary of what I know and tried - #6 is really interesting/strange. 1 - click on a Hebrew file name - libreoffice says file does not exist. 2 - click on Libreoffice icon +